pub enum FrontFaceDirection {
CW = 2_304,
CCW = 2_305,
}
Expand description
Constants passed to WebGLRenderingContext.frontFace().
Variants§
CW = 2_304
Passed to frontFace to specify the front face of a polygon is drawn in the clockwise direction
CCW = 2_305
Passed to frontFace to specify the front face of a polygon is drawn in the counter clockwise direction
Trait Implementations§
Source§impl Clone for FrontFaceDirection
impl Clone for FrontFaceDirection
Source§fn clone(&self) -> FrontFaceDirection
fn clone(&self) -> FrontFaceDirection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FrontFaceDirection
impl Debug for FrontFaceDirection
impl Copy for FrontFaceDirection
Auto Trait Implementations§
impl Freeze for FrontFaceDirection
impl RefUnwindSafe for FrontFaceDirection
impl Send for FrontFaceDirection
impl Sync for FrontFaceDirection
impl Unpin for FrontFaceDirection
impl UnwindSafe for FrontFaceDirection
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