pub struct CullModeFlags(/* private fields */);
Implementations§
Source§impl CullModeFlags
impl CullModeFlags
Sourcepub const fn bits(&self) -> VkCullModeFlags
pub const fn bits(&self) -> VkCullModeFlags
Returns bits in this flags
Sourcepub const fn has_any(self, other: Self) -> bool
pub const fn has_any(self, other: Self) -> bool
Returns true if any of specified bits are contained in this flag.
Trait Implementations§
Source§impl BitAnd for CullModeFlags
impl BitAnd for CullModeFlags
Source§impl BitAndAssign for CullModeFlags
impl BitAndAssign for CullModeFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr for CullModeFlags
impl BitOr for CullModeFlags
Source§impl BitOrAssign for CullModeFlags
impl BitOrAssign for CullModeFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl Clone for CullModeFlags
impl Clone for CullModeFlags
Source§fn clone(&self) -> CullModeFlags
fn clone(&self) -> CullModeFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CullModeFlags
impl Debug for CullModeFlags
Source§impl From<CullModeFlags> for VkCullModeFlags
impl From<CullModeFlags> for VkCullModeFlags
Source§fn from(value: CullModeFlags) -> Self
fn from(value: CullModeFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for CullModeFlags
impl Hash for CullModeFlags
Source§impl Not for CullModeFlags
impl Not for CullModeFlags
Source§impl PartialEq for CullModeFlags
impl PartialEq for CullModeFlags
impl Copy for CullModeFlags
impl Eq for CullModeFlags
impl StructuralPartialEq for CullModeFlags
Auto Trait Implementations§
impl Freeze for CullModeFlags
impl RefUnwindSafe for CullModeFlags
impl Send for CullModeFlags
impl Sync for CullModeFlags
impl Unpin for CullModeFlags
impl UnwindSafe for CullModeFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more