Enum uni_gl::FrontFaceDirection
source · [−]pub enum FrontFaceDirection {
CW,
CCW,
}
Expand description
Constants passed to WebGLRenderingContext.frontFace().
Variants
CW
Passed to frontFace to specify the front face of a polygon is drawn in the clockwise direction
CCW
Passed to frontFace to specify the front face of a polygon is drawn in the counter clockwise direction
Trait Implementations
sourceimpl Clone for FrontFaceDirection
impl Clone for FrontFaceDirection
sourcefn clone(&self) -> FrontFaceDirection
fn clone(&self) -> FrontFaceDirection
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 moresourceimpl Debug for FrontFaceDirection
impl Debug for FrontFaceDirection
impl Copy for FrontFaceDirection
Auto Trait Implementations
impl RefUnwindSafe for FrontFaceDirection
impl Send for FrontFaceDirection
impl Sync for FrontFaceDirection
impl Unpin for FrontFaceDirection
impl UnwindSafe for FrontFaceDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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