pub struct CommandBufferAllocateInfo {
pub level: CommandBufferLevel,
pub command_buffer_count: u32,
pub _ne: NonExhaustive,
}Expand description
Parameters to allocate a CommandPoolAlloc.
Fields§
§level: CommandBufferLevelThe level of command buffer to allocate.
The default value is CommandBufferLevel::Primary.
command_buffer_count: u32The number of command buffers to allocate.
The default value is 1.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for CommandBufferAllocateInfo
impl Clone for CommandBufferAllocateInfo
Source§fn clone(&self) -> CommandBufferAllocateInfo
fn clone(&self) -> CommandBufferAllocateInfo
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 Debug for CommandBufferAllocateInfo
impl Debug for CommandBufferAllocateInfo
Source§impl Default for CommandBufferAllocateInfo
impl Default for CommandBufferAllocateInfo
Source§fn default() -> CommandBufferAllocateInfo
fn default() -> CommandBufferAllocateInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandBufferAllocateInfo
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