Enum uni_gl::StencilAction
source · [−]pub enum StencilAction {
Keep,
Replace,
Incr,
Decr,
Invert,
IncrWrap,
DecrWrap,
}
Expand description
Constants passed to WebGLRenderingContext.stencilOp().
Variants
Keep
Replace
Incr
Decr
Invert
IncrWrap
DecrWrap
Trait Implementations
sourceimpl Clone for StencilAction
impl Clone for StencilAction
sourcefn clone(&self) -> StencilAction
fn clone(&self) -> StencilAction
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 StencilAction
impl Debug for StencilAction
impl Copy for StencilAction
Auto Trait Implementations
impl RefUnwindSafe for StencilAction
impl Send for StencilAction
impl Sync for StencilAction
impl Unpin for StencilAction
impl UnwindSafe for StencilAction
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