pub struct StencilOpStateBuilder { /* private fields */ }Expand description
Builder for StencilOpState.
Implementations§
Source§impl StencilOpStateBuilder
impl StencilOpStateBuilder
pub fn fail_op(self, value: StencilOp) -> Self
pub fn pass_op(self, value: StencilOp) -> Self
pub fn depth_fail_op(self, value: StencilOp) -> Self
pub fn compare_op(self, value: CompareOp) -> Self
pub fn compare_mask(self, value: u32) -> Self
pub fn write_mask(self, value: u32) -> Self
pub fn reference(self, value: u32) -> Self
Trait Implementations§
Source§impl Deref for StencilOpStateBuilder
impl Deref for StencilOpStateBuilder
Auto Trait Implementations§
impl Freeze for StencilOpStateBuilder
impl RefUnwindSafe for StencilOpStateBuilder
impl Send for StencilOpStateBuilder
impl Sync for StencilOpStateBuilder
impl Unpin for StencilOpStateBuilder
impl UnsafeUnpin for StencilOpStateBuilder
impl UnwindSafe for StencilOpStateBuilder
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