#[repr(C)]pub struct PipelineColorBlendAttachmentState {
pub blend_enable: Bool32,
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: Bool32
§src_color_blend_factor: BlendFactor
§dst_color_blend_factor: BlendFactor
§color_blend_op: BlendOp
§src_alpha_blend_factor: BlendFactor
§dst_alpha_blend_factor: BlendFactor
§alpha_blend_op: BlendOp
§color_write_mask: ColorComponentFlags
Implementations§
Source§impl PipelineColorBlendAttachmentState
impl PipelineColorBlendAttachmentState
pub fn builder<'a>() -> PipelineColorBlendAttachmentStateBuilder<'a>
Trait Implementations§
Source§impl Clone for PipelineColorBlendAttachmentState
impl Clone for PipelineColorBlendAttachmentState
Source§fn clone(&self) -> PipelineColorBlendAttachmentState
fn clone(&self) -> PipelineColorBlendAttachmentState
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 PipelineColorBlendAttachmentState
impl Default for PipelineColorBlendAttachmentState
Source§fn default() -> PipelineColorBlendAttachmentState
fn default() -> PipelineColorBlendAttachmentState
Returns the “default value” for a type. Read more
impl Copy for PipelineColorBlendAttachmentState
Auto Trait Implementations§
impl Freeze for PipelineColorBlendAttachmentState
impl RefUnwindSafe for PipelineColorBlendAttachmentState
impl Send for PipelineColorBlendAttachmentState
impl Sync for PipelineColorBlendAttachmentState
impl Unpin for PipelineColorBlendAttachmentState
impl UnwindSafe for PipelineColorBlendAttachmentState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)