#[repr(transparent)]pub struct CommandBufferInheritanceRenderingInfoBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn flags(
self,
flags: RenderingFlags
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn view_mask(
self,
view_mask: u32
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn color_attachment_formats(
self,
color_attachment_formats: &'a [Format]
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn depth_attachment_format(
self,
depth_attachment_format: Format
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn stencil_attachment_format(
self,
stencil_attachment_format: Format
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
pub fn rasterization_samples(
self,
rasterization_samples: SampleCountFlags
) -> CommandBufferInheritanceRenderingInfoBuilder<'a>
sourcepub fn build(self) -> CommandBufferInheritanceRenderingInfo
pub fn build(self) -> CommandBufferInheritanceRenderingInfo
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 CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> Deref for CommandBufferInheritanceRenderingInfoBuilder<'a>
type Target = CommandBufferInheritanceRenderingInfo
type Target = CommandBufferInheritanceRenderingInfo
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<CommandBufferInheritanceRenderingInfoBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<CommandBufferInheritanceRenderingInfoBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <CommandBufferInheritanceRenderingInfoBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <CommandBufferInheritanceRenderingInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfoBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> !Send for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> !Sync for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> Unpin for CommandBufferInheritanceRenderingInfoBuilder<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceRenderingInfoBuilder<'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