Struct vulkano::command_buffer::pool::CommandBufferAllocateInfo
source · pub struct CommandBufferAllocateInfo {
pub level: CommandBufferLevel,
pub command_buffer_count: u32,
pub _ne: NonExhaustive,
}
Expand description
Parameters to allocate a CommandPoolAlloc
.
Fields§
§level: CommandBufferLevel
The level of command buffer to allocate.
The default value is CommandBufferLevel::Primary
.
command_buffer_count: u32
The number of command buffers to allocate.
The default value is 1
.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for CommandBufferAllocateInfo
impl Clone for CommandBufferAllocateInfo
source§fn clone(&self) -> CommandBufferAllocateInfo
fn clone(&self) -> CommandBufferAllocateInfo
Returns a copy 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 Debug for CommandBufferAllocateInfo
impl Debug for CommandBufferAllocateInfo
Auto Trait Implementations§
impl RefUnwindSafe for CommandBufferAllocateInfo
impl Send for CommandBufferAllocateInfo
impl Sync for CommandBufferAllocateInfo
impl Unpin for CommandBufferAllocateInfo
impl UnwindSafe for CommandBufferAllocateInfo
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