pub struct CommandBufferAllocateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for CommandBufferAllocateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> CommandBufferAllocateInfoBuilder<'a>
impl<'a> CommandBufferAllocateInfoBuilder<'a>
pub fn command_pool( self, value: CommandPool, ) -> CommandBufferAllocateInfoBuilder<'a>
pub fn level( self, value: CommandBufferLevel, ) -> CommandBufferAllocateInfoBuilder<'a>
pub fn command_buffer_count( self, value: u32, ) -> CommandBufferAllocateInfoBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> CommandBufferAllocateInfoBuilder<'a>where
T: ExtendsCommandBufferAllocateInfo,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> CommandBufferAllocateInfoBuilder<'a>where
T: ExtendsCommandBufferAllocateInfo,
Prepend a struct to the pNext chain. See CommandBufferAllocateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
Source§type Target = CommandBufferAllocateInfo
type Target = CommandBufferAllocateInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferAllocateInfoBuilder<'a>
impl<'a> RefUnwindSafe for CommandBufferAllocateInfoBuilder<'a>
impl<'a> !Send for CommandBufferAllocateInfoBuilder<'a>
impl<'a> !Sync for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Unpin for CommandBufferAllocateInfoBuilder<'a>
impl<'a> UnsafeUnpin for CommandBufferAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for CommandBufferAllocateInfoBuilder<'a>
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