Enum luminance::face_culling::FaceCullingMode
source · [−]pub enum FaceCullingMode {
Front,
Back,
Both,
}
Expand description
Side to show and side to cull.
Variants
Front
Cull the front side only.
Back
Cull the back side only.
Both
Always cull any triangle.
Trait Implementations
sourceimpl Clone for FaceCullingMode
impl Clone for FaceCullingMode
sourcefn clone(&self) -> FaceCullingMode
fn clone(&self) -> FaceCullingMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FaceCullingMode
impl Debug for FaceCullingMode
sourceimpl PartialEq<FaceCullingMode> for FaceCullingMode
impl PartialEq<FaceCullingMode> for FaceCullingMode
impl Copy for FaceCullingMode
impl Eq for FaceCullingMode
impl StructuralEq for FaceCullingMode
impl StructuralPartialEq for FaceCullingMode
Auto Trait Implementations
impl RefUnwindSafe for FaceCullingMode
impl Send for FaceCullingMode
impl Sync for FaceCullingMode
impl Unpin for FaceCullingMode
impl UnwindSafe for FaceCullingMode
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more