pub struct PipelineColorBlendAttachmentStateBuilder { /* private fields */ }Expand description
Builder for PipelineColorBlendAttachmentState.
Implementations§
Source§impl PipelineColorBlendAttachmentStateBuilder
impl PipelineColorBlendAttachmentStateBuilder
pub fn blend_enable(self, value: bool) -> Self
pub fn src_color_blend_factor(self, value: BlendFactor) -> Self
pub fn dst_color_blend_factor(self, value: BlendFactor) -> Self
pub fn color_blend_op(self, value: BlendOp) -> Self
pub fn src_alpha_blend_factor(self, value: BlendFactor) -> Self
pub fn dst_alpha_blend_factor(self, value: BlendFactor) -> Self
pub fn alpha_blend_op(self, value: BlendOp) -> Self
pub fn color_write_mask(self, value: ColorComponentFlags) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineColorBlendAttachmentStateBuilder
impl RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder
impl Send for PipelineColorBlendAttachmentStateBuilder
impl Sync for PipelineColorBlendAttachmentStateBuilder
impl Unpin for PipelineColorBlendAttachmentStateBuilder
impl UnsafeUnpin 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