pub struct CullModeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl CullModeFlagBits
impl CullModeFlagBits
pub const NONE: Self
pub const FRONT_AND_BACK: Self
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for CullModeFlagBits
impl BitAnd for CullModeFlagBits
Source§impl BitAndAssign for CullModeFlagBits
impl BitAndAssign for CullModeFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for CullModeFlagBits
impl BitOr for CullModeFlagBits
Source§impl BitOrAssign for CullModeFlagBits
impl BitOrAssign for CullModeFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for CullModeFlagBits
impl BitXor for CullModeFlagBits
Source§impl BitXorAssign for CullModeFlagBits
impl BitXorAssign for CullModeFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for CullModeFlagBits
impl Clone for CullModeFlagBits
Source§fn clone(&self) -> CullModeFlagBits
fn clone(&self) -> CullModeFlagBits
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 CullModeFlagBits
impl Debug for CullModeFlagBits
Source§impl Default for CullModeFlagBits
impl Default for CullModeFlagBits
Source§fn default() -> CullModeFlagBits
fn default() -> CullModeFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for CullModeFlagBits
impl Hash for CullModeFlagBits
Source§impl Not for CullModeFlagBits
impl Not for CullModeFlagBits
Source§impl Ord for CullModeFlagBits
impl Ord for CullModeFlagBits
Source§fn cmp(&self, other: &CullModeFlagBits) -> Ordering
fn cmp(&self, other: &CullModeFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CullModeFlagBits
impl PartialEq for CullModeFlagBits
Source§impl PartialOrd for CullModeFlagBits
impl PartialOrd for CullModeFlagBits
impl Copy for CullModeFlagBits
impl Eq for CullModeFlagBits
impl StructuralPartialEq for CullModeFlagBits
Auto Trait Implementations§
impl Freeze for CullModeFlagBits
impl RefUnwindSafe for CullModeFlagBits
impl Send for CullModeFlagBits
impl Sync for CullModeFlagBits
impl Unpin for CullModeFlagBits
impl UnsafeUnpin for CullModeFlagBits
impl UnwindSafe for CullModeFlagBits
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