#[repr(C)]pub struct CommandBufferAllocateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub command_pool: CommandPool,
pub level: CommandBufferLevel,
pub command_buffer_count: u32,
}Expand description
VkCommandBufferAllocateInfo
Provided by VK_BASE_VERSION_1_0.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO.
p_next: *const c_voidOptional, may be null.
command_pool: CommandPoolThread safety: must be externally synchronized.
level: CommandBufferLevel§command_buffer_count: u32Implementations§
Source§impl CommandBufferAllocateInfo
impl CommandBufferAllocateInfo
Sourcepub fn builder<'a>() -> CommandBufferAllocateInfoBuilder<'a>
pub fn builder<'a>() -> CommandBufferAllocateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait 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
impl Copy for CommandBufferAllocateInfo
Auto Trait Implementations§
impl Freeze for CommandBufferAllocateInfo
impl RefUnwindSafe for CommandBufferAllocateInfo
impl !Send for CommandBufferAllocateInfo
impl !Sync for CommandBufferAllocateInfo
impl Unpin for CommandBufferAllocateInfo
impl UnsafeUnpin 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