#[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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)