pub struct StencilFaceFlags(/* private fields */);Expand description
Implementations§
Source§impl StencilFaceFlags
impl StencilFaceFlags
pub const fn empty() -> StencilFaceFlags
pub const fn from_raw(x: u32) -> StencilFaceFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: StencilFaceFlags) -> bool
Sourcepub const fn contains(self, other: StencilFaceFlags) -> bool
pub const fn contains(self, other: StencilFaceFlags) -> bool
Returns whether other is a subset of self
Source§impl StencilFaceFlags
impl StencilFaceFlags
Sourcepub const FRONT: StencilFaceFlags
pub const FRONT: StencilFaceFlags
Front face
Sourcepub const BACK: StencilFaceFlags
pub const BACK: StencilFaceFlags
Back face
Sourcepub const FRONT_AND_BACK: StencilFaceFlags
pub const FRONT_AND_BACK: StencilFaceFlags
Front and back faces
Trait Implementations§
Source§impl BitAnd for StencilFaceFlags
impl BitAnd for StencilFaceFlags
Source§type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitand(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for StencilFaceFlags
impl BitAndAssign for StencilFaceFlags
Source§fn bitand_assign(&mut self, rhs: StencilFaceFlags)
fn bitand_assign(&mut self, rhs: StencilFaceFlags)
Performs the
&= operation. Read moreSource§impl BitOr for StencilFaceFlags
impl BitOr for StencilFaceFlags
Source§type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for StencilFaceFlags
impl BitOrAssign for StencilFaceFlags
Source§fn bitor_assign(&mut self, rhs: StencilFaceFlags)
fn bitor_assign(&mut self, rhs: StencilFaceFlags)
Performs the
|= operation. Read moreSource§impl BitXor for StencilFaceFlags
impl BitXor for StencilFaceFlags
Source§type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
fn bitxor(self, rhs: StencilFaceFlags) -> StencilFaceFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for StencilFaceFlags
impl BitXorAssign for StencilFaceFlags
Source§fn bitxor_assign(&mut self, rhs: StencilFaceFlags)
fn bitxor_assign(&mut self, rhs: StencilFaceFlags)
Performs the
^= operation. Read moreSource§impl Clone for StencilFaceFlags
impl Clone for StencilFaceFlags
Source§fn clone(&self) -> StencilFaceFlags
fn clone(&self) -> StencilFaceFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StencilFaceFlags
Source§impl Default for StencilFaceFlags
impl Default for StencilFaceFlags
Source§fn default() -> StencilFaceFlags
fn default() -> StencilFaceFlags
Returns the “default value” for a type. Read more
impl Eq for StencilFaceFlags
Source§impl Hash for StencilFaceFlags
impl Hash for StencilFaceFlags
Source§impl Not for StencilFaceFlags
impl Not for StencilFaceFlags
Source§type Output = StencilFaceFlags
type Output = StencilFaceFlags
The resulting type after applying the
! operator.Source§fn not(self) -> StencilFaceFlags
fn not(self) -> StencilFaceFlags
Performs the unary
! operation. Read moreSource§impl Ord for StencilFaceFlags
impl Ord for StencilFaceFlags
Source§fn cmp(&self, other: &StencilFaceFlags) -> Ordering
fn cmp(&self, other: &StencilFaceFlags) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StencilFaceFlags
impl PartialEq for StencilFaceFlags
Source§impl PartialOrd for StencilFaceFlags
impl PartialOrd for StencilFaceFlags
impl StructuralPartialEq for StencilFaceFlags
Auto Trait Implementations§
impl Freeze for StencilFaceFlags
impl RefUnwindSafe for StencilFaceFlags
impl Send for StencilFaceFlags
impl Sync for StencilFaceFlags
impl Unpin for StencilFaceFlags
impl UnsafeUnpin for StencilFaceFlags
impl UnwindSafe for StencilFaceFlags
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