pub struct CullModeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl CullModeFlagBits
impl CullModeFlagBits
pub const NONE: CullModeFlagBits
Sourcepub const FRONT: CullModeFlagBits
pub const FRONT: CullModeFlagBits
Bit 0.
Sourcepub const BACK: CullModeFlagBits
pub const BACK: CullModeFlagBits
Bit 1.
pub const FRONT_AND_BACK: CullModeFlagBits
pub const fn empty() -> CullModeFlagBits
pub const fn from_raw(value: u32) -> CullModeFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: CullModeFlagBits) -> bool
pub const fn all() -> CullModeFlagBits
Trait Implementations§
Source§impl BitAnd for CullModeFlagBits
impl BitAnd for CullModeFlagBits
Source§type Output = CullModeFlagBits
type Output = CullModeFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: CullModeFlagBits) -> CullModeFlagBits
fn bitand(self, rhs: CullModeFlagBits) -> CullModeFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for CullModeFlagBits
impl BitAndAssign for CullModeFlagBits
Source§fn bitand_assign(&mut self, rhs: CullModeFlagBits)
fn bitand_assign(&mut self, rhs: CullModeFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for CullModeFlagBits
impl BitOr for CullModeFlagBits
Source§type Output = CullModeFlagBits
type Output = CullModeFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: CullModeFlagBits) -> CullModeFlagBits
fn bitor(self, rhs: CullModeFlagBits) -> CullModeFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for CullModeFlagBits
impl BitOrAssign for CullModeFlagBits
Source§fn bitor_assign(&mut self, rhs: CullModeFlagBits)
fn bitor_assign(&mut self, rhs: CullModeFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for CullModeFlagBits
impl BitXor for CullModeFlagBits
Source§type Output = CullModeFlagBits
type Output = CullModeFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: CullModeFlagBits) -> CullModeFlagBits
fn bitxor(self, rhs: CullModeFlagBits) -> CullModeFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for CullModeFlagBits
impl BitXorAssign for CullModeFlagBits
Source§fn bitxor_assign(&mut self, rhs: CullModeFlagBits)
fn bitxor_assign(&mut self, rhs: CullModeFlagBits)
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§type Output = CullModeFlagBits
type Output = CullModeFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> CullModeFlagBits
fn not(self) -> CullModeFlagBits
Performs the unary
! operation. Read moreSource§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