#[repr(transparent)]pub struct PipelineColorBlendAttachmentStateBuilder { /* private fields */ }
Expand description
A builder for a PipelineColorBlendAttachmentState
.
Implementations§
source§impl PipelineColorBlendAttachmentStateBuilder
impl PipelineColorBlendAttachmentStateBuilder
pub fn blend_enable(self, blend_enable: bool) -> Self
pub fn src_color_blend_factor(self, src_color_blend_factor: BlendFactor) -> Self
pub fn dst_color_blend_factor(self, dst_color_blend_factor: BlendFactor) -> Self
pub fn color_blend_op(self, color_blend_op: BlendOp) -> Self
pub fn src_alpha_blend_factor(self, src_alpha_blend_factor: BlendFactor) -> Self
pub fn dst_alpha_blend_factor(self, dst_alpha_blend_factor: BlendFactor) -> Self
pub fn alpha_blend_op(self, alpha_blend_op: BlendOp) -> Self
pub fn color_write_mask(self, color_write_mask: ColorComponentFlags) -> Self
pub fn build(self) -> PipelineColorBlendAttachmentState
Trait Implementations§
source§impl Cast for PipelineColorBlendAttachmentStateBuilder
impl Cast for PipelineColorBlendAttachmentStateBuilder
§type Target = PipelineColorBlendAttachmentState
type Target = PipelineColorBlendAttachmentState
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PipelineColorBlendAttachmentStateBuilder
impl Clone for PipelineColorBlendAttachmentStateBuilder
source§fn clone(&self) -> PipelineColorBlendAttachmentStateBuilder
fn clone(&self) -> PipelineColorBlendAttachmentStateBuilder
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 Default for PipelineColorBlendAttachmentStateBuilder
impl Default for PipelineColorBlendAttachmentStateBuilder
source§fn default() -> PipelineColorBlendAttachmentStateBuilder
fn default() -> PipelineColorBlendAttachmentStateBuilder
Returns the “default value” for a type. Read more
impl Copy for PipelineColorBlendAttachmentStateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder
impl Send for PipelineColorBlendAttachmentStateBuilder
impl Sync for PipelineColorBlendAttachmentStateBuilder
impl Unpin for PipelineColorBlendAttachmentStateBuilder
impl UnwindSafe for PipelineColorBlendAttachmentStateBuilder
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