pub enum StencilAction {
Keep = 7_680,
Replace = 7_681,
Incr = 7_682,
Decr = 7_683,
Invert = 5_386,
IncrWrap = 34_055,
DecrWrap = 34_056,
}
Expand description
Constants passed to WebGLRenderingContext.stencilOp().
Variants§
Keep = 7_680
Replace = 7_681
Incr = 7_682
Decr = 7_683
Invert = 5_386
IncrWrap = 34_055
DecrWrap = 34_056
Trait Implementations§
Source§impl Clone for StencilAction
impl Clone for StencilAction
Source§fn clone(&self) -> StencilAction
fn clone(&self) -> StencilAction
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 StencilAction
impl Debug for StencilAction
impl Copy for StencilAction
Auto Trait Implementations§
impl Freeze for StencilAction
impl RefUnwindSafe for StencilAction
impl Send for StencilAction
impl Sync for StencilAction
impl Unpin for StencilAction
impl UnwindSafe for StencilAction
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