#[repr(transparent)]pub struct CommandBufferInheritanceRenderingInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
pub fn flags(self, flags: RenderingFlagsKHR) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn color_attachment_formats(
self,
color_attachment_formats: &'a [Format]
) -> Self
pub fn depth_attachment_format(self, depth_attachment_format: Format) -> Self
pub fn stencil_attachment_format(
self,
stencil_attachment_format: Format
) -> Self
pub fn rasterization_samples(
self,
rasterization_samples: SampleCountFlags
) -> Self
sourcepub fn build(self) -> CommandBufferInheritanceRenderingInfoKHR
pub fn build(self) -> CommandBufferInheritanceRenderingInfoKHR
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 CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> Deref for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
type Target = CommandBufferInheritanceRenderingInfoKHR
type Target = CommandBufferInheritanceRenderingInfoKHR
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> DerefMut for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl ExtendsCommandBufferInheritanceInfo for CommandBufferInheritanceRenderingInfoKHRBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> !Send for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> !Sync for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> Unpin for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
impl<'a> UnwindSafe for CommandBufferInheritanceRenderingInfoKHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more