Struct screen_13::prelude::vk::StencilFaceFlags
source · 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
§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
§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
§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 copy 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 StencilFaceFlags
impl Debug 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
source§impl Hash for StencilFaceFlags
impl Hash for StencilFaceFlags
source§impl Not for StencilFaceFlags
impl Not for StencilFaceFlags
§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 · 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 StencilFaceFlags
impl PartialEq for StencilFaceFlags
source§fn eq(&self, other: &StencilFaceFlags) -> bool
fn eq(&self, other: &StencilFaceFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StencilFaceFlags
impl PartialOrd for StencilFaceFlags
source§fn partial_cmp(&self, other: &StencilFaceFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &StencilFaceFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StencilFaceFlags
impl Eq for StencilFaceFlags
impl StructuralPartialEq for StencilFaceFlags
Auto Trait Implementations§
impl RefUnwindSafe for StencilFaceFlags
impl Send for StencilFaceFlags
impl Sync for StencilFaceFlags
impl Unpin 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