pub struct StencilOpStateBuilder { /* private fields */ }Expand description
Builder for StencilOpState.
Implementations§
Source§impl StencilOpStateBuilder
impl StencilOpStateBuilder
pub fn fail_op(self, value: StencilOp) -> StencilOpStateBuilder
pub fn pass_op(self, value: StencilOp) -> StencilOpStateBuilder
pub fn depth_fail_op(self, value: StencilOp) -> StencilOpStateBuilder
pub fn compare_op(self, value: CompareOp) -> StencilOpStateBuilder
pub fn compare_mask(self, value: u32) -> StencilOpStateBuilder
pub fn write_mask(self, value: u32) -> StencilOpStateBuilder
pub fn reference(self, value: u32) -> StencilOpStateBuilder
Trait Implementations§
Source§impl Deref for StencilOpStateBuilder
impl Deref for StencilOpStateBuilder
Source§type Target = StencilOpState
type Target = StencilOpState
The resulting type after dereferencing.
Source§impl DerefMut for StencilOpStateBuilder
impl DerefMut 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