pub struct CommandBufferAlloc {
pub inner: CommandPoolAlloc,
pub pool: Arc<CommandPool>,
pub handle: AllocationHandle,
}Expand description
An allocation made using a command buffer allocator.
Fields§
§inner: CommandPoolAllocThe internal object that contains the command buffer.
pool: Arc<CommandPool>The command pool that the command buffer was allocated from.
Using this for anything other than looking at the pool’s metadata will lead to a Bad TimeTM.
handle: AllocationHandleAn opaque handle identifying the allocation inside the allocator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandBufferAlloc
impl !RefUnwindSafe for CommandBufferAlloc
impl !Send for CommandBufferAlloc
impl !Sync for CommandBufferAlloc
impl Unpin for CommandBufferAlloc
impl UnsafeUnpin for CommandBufferAlloc
impl !UnwindSafe for CommandBufferAlloc
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