pub struct CommandPool;
Expand description
Dummy raw command pool.
Trait Implementations§
Source§impl CommandPool<Backend> for CommandPool
impl CommandPool<Backend> for CommandPool
Source§unsafe fn allocate_one(&mut self, level: Level) -> CommandBuffer
unsafe fn allocate_one(&mut self, level: Level) -> CommandBuffer
Allocate a single command buffer from the pool. Read more
Source§unsafe fn reset(&mut self, _: bool)
unsafe fn reset(&mut self, _: bool)
Reset the command pool and the corresponding command buffers. Read more
Source§unsafe fn free<I>(&mut self, _: I)
unsafe fn free<I>(&mut self, _: I)
Free command buffers allocated from this pool.
Auto Trait Implementations§
impl Freeze for CommandPool
impl RefUnwindSafe for CommandPool
impl Send for CommandPool
impl Sync for CommandPool
impl Unpin for CommandPool
impl UnwindSafe for CommandPool
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