Enum deno_webgpu::pipeline::GpuCullMode
source · [−]pub enum GpuCullMode {
None,
Front,
Back,
}
Variants
None
Front
Back
Trait Implementations
sourceimpl<'de> Deserialize<'de> for GpuCullMode
impl<'de> Deserialize<'de> for GpuCullMode
sourcefn 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
sourceimpl From<GpuCullMode> for Option<Face>
impl From<GpuCullMode> for Option<Face>
sourcefn from(value: GpuCullMode) -> Option<Face>
fn from(value: GpuCullMode) -> Option<Face>
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GpuCullMode
impl Send for GpuCullMode
impl Sync for GpuCullMode
impl Unpin for GpuCullMode
impl UnwindSafe for GpuCullMode
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