Enum wgpu_types::Face
source · [−]#[repr(C)]
pub enum Face {
Front,
Back,
}
Expand description
Face of a vertex.
Corresponds to WebGPU GPUCullMode
,
except that the "none"
value is represented using Option<Face>
instead.
Variants
Front
Front face
Back
Back face
Trait Implementations
impl Copy for Face
impl Eq for Face
impl StructuralEq for Face
impl StructuralPartialEq for Face
Auto Trait Implementations
impl RefUnwindSafe for Face
impl Send for Face
impl Sync for Face
impl Unpin for Face
impl UnwindSafe for Face
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more