pub struct CommandBufferAllocateInfoBuilder<'b> { /* private fields */ }Expand description
A builder for VkCommandBufferAllocateInfo.
Implementations§
Source§impl<'b> CommandBufferAllocateInfoBuilder<'b>
impl<'b> CommandBufferAllocateInfoBuilder<'b>
pub fn new() -> CommandBufferAllocateInfoBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> CommandBufferAllocateInfoBuilder<'b>
pub fn command_pool<'m, H>(
self,
command_pool: H,
) -> CommandBufferAllocateInfoBuilder<'b>where
H: Handle<Target = CommandPoolHandle>,
pub fn level<'m>( self, level: CommandBufferLevel, ) -> CommandBufferAllocateInfoBuilder<'b>
pub fn command_buffer_count<'m>( self, command_buffer_count: u32, ) -> CommandBufferAllocateInfoBuilder<'b>
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_command_pool<'a>(&'a self) -> VkCommandPool
pub fn get_level<'a>(&'a self) -> CommandBufferLevel
pub fn get_command_buffer_count<'a>(&'a self) -> u32
pub fn build(self) -> CommandBufferAllocateInfo<'b>
Trait Implementations§
Source§impl<'b> Clone for CommandBufferAllocateInfoBuilder<'b>
impl<'b> Clone for CommandBufferAllocateInfoBuilder<'b>
Source§fn clone(&self) -> CommandBufferAllocateInfoBuilder<'b>
fn clone(&self) -> CommandBufferAllocateInfoBuilder<'b>
Returns a duplicate 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<'b> Debug for CommandBufferAllocateInfoBuilder<'b>
impl<'b> Debug for CommandBufferAllocateInfoBuilder<'b>
Source§impl<'b> Default for CommandBufferAllocateInfoBuilder<'b>
impl<'b> Default for CommandBufferAllocateInfoBuilder<'b>
Source§fn default() -> CommandBufferAllocateInfoBuilder<'b>
fn default() -> CommandBufferAllocateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for CommandBufferAllocateInfoBuilder<'b>
impl<'b> RefUnwindSafe for CommandBufferAllocateInfoBuilder<'b>
impl<'b> !Send for CommandBufferAllocateInfoBuilder<'b>
impl<'b> !Sync for CommandBufferAllocateInfoBuilder<'b>
impl<'b> Unpin for CommandBufferAllocateInfoBuilder<'b>
impl<'b> UnwindSafe for CommandBufferAllocateInfoBuilder<'b>
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