#[repr(transparent)]pub struct StencilOp(pub i32);Expand description
Open integer representation of VkStencilOp.
Tuple Fields§
§0: i32Implementations§
Source§impl StencilOp
impl StencilOp
Sourcepub const INCREMENT_AND_CLAMP: Self
pub const INCREMENT_AND_CLAMP: Self
Native value VK_STENCIL_OP_INCREMENT_AND_CLAMP.
Sourcepub const DECREMENT_AND_CLAMP: Self
pub const DECREMENT_AND_CLAMP: Self
Native value VK_STENCIL_OP_DECREMENT_AND_CLAMP.
Sourcepub const INCREMENT_AND_WRAP: Self
pub const INCREMENT_AND_WRAP: Self
Native value VK_STENCIL_OP_INCREMENT_AND_WRAP.
Sourcepub const DECREMENT_AND_WRAP: Self
pub const DECREMENT_AND_WRAP: Self
Native value VK_STENCIL_OP_DECREMENT_AND_WRAP.
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
impl Copy for StencilOp
impl Eq for StencilOp
impl StructuralPartialEq for StencilOp
Auto Trait Implementations§
impl Forget for StencilOp
impl Freeze for StencilOp
impl Move 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