pub struct StencilOp(/* private fields */);Expand description
Implementations§
Source§impl StencilOp
impl StencilOp
pub const KEEP: Self
pub const ZERO: Self
pub const REPLACE: Self
pub const INCREMENT_AND_CLAMP: Self
pub const DECREMENT_AND_CLAMP: Self
pub const INVERT: Self
pub const INCREMENT_AND_WRAP: Self
pub const DECREMENT_AND_WRAP: Self
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Error for StencilOp
impl Error for StencilOp
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Ord for StencilOp
impl Ord for StencilOp
Source§impl PartialOrd for StencilOp
impl PartialOrd for StencilOp
impl Copy for StencilOp
impl Eq for StencilOp
impl StructuralPartialEq for StencilOp
Auto Trait Implementations§
impl Freeze for StencilOp
impl RefUnwindSafe for StencilOp
impl Send for StencilOp
impl Sync for StencilOp
impl Unpin for StencilOp
impl UnsafeUnpin for StencilOp
impl UnwindSafe for StencilOp
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