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§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Face
impl<'de> Deserialize<'de> for Face
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Face> for Face
impl PartialEq<Face> for Face
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§
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