Enum vulkano::pipeline::graphics::depth_stencil::StencilFaces
source · #[non_exhaustive]#[repr(u32)]pub enum StencilFaces {
Front = 1,
Back = 2,
FrontAndBack = 3,
}
Expand description
Specifies a face for stencil operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for StencilFaces
impl Clone for StencilFaces
source§fn clone(&self) -> StencilFaces
fn clone(&self) -> StencilFaces
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 StencilFaces
impl Debug for StencilFaces
source§impl From<StencilFaces> for StencilFaceFlags
impl From<StencilFaces> for StencilFaceFlags
source§fn from(val: StencilFaces) -> Self
fn from(val: StencilFaces) -> Self
Converts to this type from the input type.
source§impl Hash for StencilFaces
impl Hash for StencilFaces
source§impl PartialEq for StencilFaces
impl PartialEq for StencilFaces
source§fn eq(&self, other: &StencilFaces) -> bool
fn eq(&self, other: &StencilFaces) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<StencilFaceFlags> for StencilFaces
impl TryFrom<StencilFaceFlags> for StencilFaces
impl Copy for StencilFaces
impl Eq for StencilFaces
impl StructuralEq for StencilFaces
impl StructuralPartialEq for StencilFaces
Auto Trait Implementations§
impl RefUnwindSafe for StencilFaces
impl Send for StencilFaces
impl Sync for StencilFaces
impl Unpin for StencilFaces
impl UnwindSafe for StencilFaces
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