#[repr(transparent)]pub struct PipelineColorBlendAttachmentStateBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn blend_enable(
self,
blend_enable: bool
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn src_color_blend_factor(
self,
src_color_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn dst_color_blend_factor(
self,
dst_color_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn color_blend_op(
self,
color_blend_op: BlendOp
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn src_alpha_blend_factor(
self,
src_alpha_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn dst_alpha_blend_factor(
self,
dst_alpha_blend_factor: BlendFactor
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn alpha_blend_op(
self,
alpha_blend_op: BlendOp
) -> PipelineColorBlendAttachmentStateBuilder<'a>
pub fn color_write_mask(
self,
color_write_mask: ColorComponentFlags
) -> PipelineColorBlendAttachmentStateBuilder<'a>
sourcepub fn build(self) -> PipelineColorBlendAttachmentState
pub fn build(self) -> PipelineColorBlendAttachmentState
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Deref for PipelineColorBlendAttachmentStateBuilder<'a>
type Target = PipelineColorBlendAttachmentState
type Target = PipelineColorBlendAttachmentState
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PipelineColorBlendAttachmentStateBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PipelineColorBlendAttachmentStateBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> DerefMut for PipelineColorBlendAttachmentStateBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PipelineColorBlendAttachmentStateBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PipelineColorBlendAttachmentStateBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Send for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Sync for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> Unpin for PipelineColorBlendAttachmentStateBuilder<'a>
impl<'a> UnwindSafe for PipelineColorBlendAttachmentStateBuilder<'a>
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