Struct ash::vk::CommandBufferAllocateInfo
source · #[repr(C)]pub struct CommandBufferAllocateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub command_pool: CommandPool,
pub level: CommandBufferLevel,
pub command_buffer_count: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§command_pool: CommandPool
§level: CommandBufferLevel
§command_buffer_count: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CommandBufferAllocateInfo<'a>
impl<'a> CommandBufferAllocateInfo<'a>
pub fn command_pool(self, command_pool: CommandPool) -> Self
pub fn level(self, level: CommandBufferLevel) -> Self
pub fn command_buffer_count(self, command_buffer_count: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for CommandBufferAllocateInfo<'a>
impl<'a> Clone for CommandBufferAllocateInfo<'a>
source§fn clone(&self) -> CommandBufferAllocateInfo<'a>
fn clone(&self) -> CommandBufferAllocateInfo<'a>
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<'a> Debug for CommandBufferAllocateInfo<'a>
impl<'a> Debug for CommandBufferAllocateInfo<'a>
source§impl Default for CommandBufferAllocateInfo<'_>
impl Default for CommandBufferAllocateInfo<'_>
source§impl<'a> TaggedStructure for CommandBufferAllocateInfo<'a>
impl<'a> TaggedStructure for CommandBufferAllocateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COMMAND_BUFFER_ALLOCATE_INFO
impl<'a> Copy for CommandBufferAllocateInfo<'a>
impl Send for CommandBufferAllocateInfo<'_>
impl Sync for CommandBufferAllocateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for CommandBufferAllocateInfo<'a>
impl<'a> RefUnwindSafe for CommandBufferAllocateInfo<'a>
impl<'a> Unpin for CommandBufferAllocateInfo<'a>
impl<'a> UnwindSafe for CommandBufferAllocateInfo<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)