#[repr(C)]pub struct StencilOp {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl StencilOp
impl StencilOp
pub fn keep() -> Self
pub fn zero() -> Self
pub fn replace() -> Self
pub fn increment_saturate() -> Self
pub fn decrement_saturate() -> Self
pub fn invert() -> Self
pub fn increment_wrap() -> Self
pub fn decrement_wrap() -> Self
Trait Implementations§
Source§impl ClassIdentity for StencilOp
impl ClassIdentity 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 UnwindSafe for StencilOp
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)