#[repr(transparent)]pub struct StencilOpState(pub VkStencilOpState);Tuple Fields§
§0: VkStencilOpStateImplementations§
Source§impl StencilOpState
impl StencilOpState
pub const NOP: Self
pub const fn always( pass: StencilOp, fail: StencilOp, depth_fail: StencilOp, ) -> Self
pub const fn always_forall(op: StencilOp) -> Self
pub const fn write_mask(self, mask: u32) -> Self
pub const fn set_compare(self, op: CompareOp, reference: u32, mask: u32) -> Self
pub const fn always_pass(self) -> Self
Auto Trait Implementations§
impl Freeze for StencilOpState
impl RefUnwindSafe for StencilOpState
impl Send for StencilOpState
impl Sync for StencilOpState
impl Unpin for StencilOpState
impl UnsafeUnpin for StencilOpState
impl UnwindSafe for StencilOpState
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