Struct vulkanalia::vk::StencilOpStateBuilder
source · #[repr(transparent)]pub struct StencilOpStateBuilder { /* private fields */ }
Expand description
A builder for a StencilOpState
.
Implementations§
source§impl StencilOpStateBuilder
impl StencilOpStateBuilder
pub fn fail_op(self, fail_op: StencilOp) -> Self
pub fn pass_op(self, pass_op: StencilOp) -> Self
pub fn depth_fail_op(self, depth_fail_op: StencilOp) -> Self
pub fn compare_op(self, compare_op: CompareOp) -> Self
pub fn compare_mask(self, compare_mask: u32) -> Self
pub fn write_mask(self, write_mask: u32) -> Self
pub fn reference(self, reference: u32) -> Self
pub fn build(self) -> StencilOpState
Trait Implementations§
source§impl Cast for StencilOpStateBuilder
impl Cast for StencilOpStateBuilder
§type Target = StencilOpState
type Target = StencilOpState
The other type this type can be used interchangeably with in FFI.
source§impl Clone for StencilOpStateBuilder
impl Clone for StencilOpStateBuilder
source§fn clone(&self) -> StencilOpStateBuilder
fn clone(&self) -> StencilOpStateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StencilOpStateBuilder
impl Debug for StencilOpStateBuilder
source§impl Default for StencilOpStateBuilder
impl Default for StencilOpStateBuilder
source§fn default() -> StencilOpStateBuilder
fn default() -> StencilOpStateBuilder
Returns the “default value” for a type. Read more
source§impl Deref for StencilOpStateBuilder
impl Deref for StencilOpStateBuilder
source§impl DerefMut for StencilOpStateBuilder
impl DerefMut for StencilOpStateBuilder
impl Copy for StencilOpStateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StencilOpStateBuilder
impl Send for StencilOpStateBuilder
impl Sync for StencilOpStateBuilder
impl Unpin 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