pub enum Cull {
None,
Front,
Back,
}Expand description
Which facing of triangle is not drawn.
Variants§
None
Neither: both facings are drawn.
Front
Front-facing triangles are culled.
Back
Back-facing triangles are culled.
Trait Implementations§
impl Copy for Cull
impl Eq for Cull
Source§impl Serialize for Cull
impl Serialize for Cull
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Cull
Auto Trait Implementations§
impl Forget for Cull
impl Freeze for Cull
impl RefUnwindSafe for Cull
impl Send for Cull
impl Sync for Cull
impl Unpin for Cull
impl UnsafeUnpin for Cull
impl UnwindSafe for Cull
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