[][src]Struct ash::vk::CullModeFlags

#[repr(transparent)]pub struct CullModeFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCullModeFlagBits.html

Methods

impl CullModeFlags[src]

pub const fn empty() -> CullModeFlags[src]

pub const fn all() -> CullModeFlags[src]

pub const fn from_raw(x: Flags) -> Self[src]

pub const fn as_raw(self) -> Flags[src]

pub fn is_empty(self) -> bool[src]

pub fn is_all(self) -> bool[src]

pub fn intersects(self, other: CullModeFlags) -> bool[src]

pub fn contains(self, other: CullModeFlags) -> bool[src]

Returns whether other is a subset of self

impl CullModeFlags[src]

pub const NONE: Self[src]

pub const FRONT: Self[src]

pub const BACK: Self[src]

pub const FRONT_AND_BACK: Self[src]

Trait Implementations

impl BitAnd<CullModeFlags> for CullModeFlags[src]

type Output = CullModeFlags

The resulting type after applying the & operator.

impl BitAndAssign<CullModeFlags> for CullModeFlags[src]

impl BitOr<CullModeFlags> for CullModeFlags[src]

type Output = CullModeFlags

The resulting type after applying the | operator.

impl BitOrAssign<CullModeFlags> for CullModeFlags[src]

impl BitXor<CullModeFlags> for CullModeFlags[src]

type Output = CullModeFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<CullModeFlags> for CullModeFlags[src]

impl Clone for CullModeFlags[src]

impl Copy for CullModeFlags[src]

impl Debug for CullModeFlags[src]

impl Default for CullModeFlags[src]

impl Eq for CullModeFlags[src]

impl Hash for CullModeFlags[src]

impl Not for CullModeFlags[src]

type Output = CullModeFlags

The resulting type after applying the ! operator.

impl Ord for CullModeFlags[src]

impl PartialEq<CullModeFlags> for CullModeFlags[src]

impl PartialOrd<CullModeFlags> for CullModeFlags[src]

impl StructuralEq for CullModeFlags[src]

impl StructuralPartialEq for CullModeFlags[src]

impl Sub<CullModeFlags> for CullModeFlags[src]

type Output = CullModeFlags

The resulting type after applying the - operator.

impl SubAssign<CullModeFlags> for CullModeFlags[src]

Auto Trait Implementations

impl RefUnwindSafe for CullModeFlags

impl Send for CullModeFlags

impl Sync for CullModeFlags

impl Unpin for CullModeFlags

impl UnwindSafe for CullModeFlags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.