#[repr(C)]pub struct PipelineColorBlendAttachmentState {
pub blend_enable: u32,
pub src_color_blend_factor: BlendFactor,
pub dst_color_blend_factor: BlendFactor,
pub color_blend_op: BlendOp,
pub src_alpha_blend_factor: BlendFactor,
pub dst_alpha_blend_factor: BlendFactor,
pub alpha_blend_op: BlendOp,
pub color_write_mask: ColorComponentFlags,
}Expand description
Fields
blend_enable: u32src_color_blend_factor: BlendFactordst_color_blend_factor: BlendFactorcolor_blend_op: BlendOpsrc_alpha_blend_factor: BlendFactordst_alpha_blend_factor: BlendFactoralpha_blend_op: BlendOpcolor_write_mask: ColorComponentFlagsImplementations
sourceimpl PipelineColorBlendAttachmentState
impl PipelineColorBlendAttachmentState
pub fn builder<'a>() -> PipelineColorBlendAttachmentStateBuilder<'a>
Trait Implementations
sourceimpl Clone for PipelineColorBlendAttachmentState
impl Clone for PipelineColorBlendAttachmentState
sourcefn clone(&self) -> PipelineColorBlendAttachmentState
fn clone(&self) -> PipelineColorBlendAttachmentState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for PipelineColorBlendAttachmentState
impl Default for PipelineColorBlendAttachmentState
sourcefn default() -> PipelineColorBlendAttachmentState
fn default() -> PipelineColorBlendAttachmentState
Returns the “default value” for a type. Read more
impl Copy for PipelineColorBlendAttachmentState
Auto Trait Implementations
impl RefUnwindSafe for PipelineColorBlendAttachmentState
impl Send for PipelineColorBlendAttachmentState
impl Sync for PipelineColorBlendAttachmentState
impl Unpin for PipelineColorBlendAttachmentState
impl UnwindSafe for PipelineColorBlendAttachmentState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more