Enum luminance::face_culling::FaceCullingOrder
source · [−]pub enum FaceCullingOrder {
CW,
CCW,
}
Expand description
Face culling order.
The order determines how a triangle is determined to be discarded. If the triangle’s vertices
wind up in the same direction as the FaceCullingOrder
, it’s assigned the front side,
otherwise, it’s the back side.
Variants
CW
Clockwise order.
CCW
Counter-clockwise order.
Trait Implementations
sourceimpl Clone for FaceCullingOrder
impl Clone for FaceCullingOrder
sourcefn clone(&self) -> FaceCullingOrder
fn clone(&self) -> FaceCullingOrder
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 FaceCullingOrder
impl Debug for FaceCullingOrder
sourceimpl PartialEq<FaceCullingOrder> for FaceCullingOrder
impl PartialEq<FaceCullingOrder> for FaceCullingOrder
impl Copy for FaceCullingOrder
impl Eq for FaceCullingOrder
impl StructuralEq for FaceCullingOrder
impl StructuralPartialEq for FaceCullingOrder
Auto Trait Implementations
impl RefUnwindSafe for FaceCullingOrder
impl Send for FaceCullingOrder
impl Sync for FaceCullingOrder
impl Unpin for FaceCullingOrder
impl UnwindSafe for FaceCullingOrder
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