Enum wgpu_types::Face
source · #[repr(C)]pub enum Face {
Front = 0,
Back = 1,
}
Expand description
Face of a vertex.
Corresponds to WebGPU GPUCullMode
,
except that the "none"
value is represented using Option<Face>
instead.
Variants§
Trait Implementations§
source§impl PartialEq for Face
impl PartialEq for Face
impl Copy for Face
impl Eq for Face
impl StructuralPartialEq for Face
Auto Trait Implementations§
impl Freeze for Face
impl RefUnwindSafe for Face
impl Send for Face
impl Sync for Face
impl Unpin for Face
impl UnwindSafe for Face
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