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
impl StructuralPartialEq for Cull
Auto Trait Implementations§
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