Struct screen_13::driver::CommandBuffer
source · [−]pub struct CommandBuffer {
pub device: Arc<Device>,
pub fence: Fence,
pub pool: CommandPool,
/* private fields */
}Fields
device: Arc<Device>fence: Fencepool: CommandPoolImplementations
sourceimpl CommandBuffer
impl CommandBuffer
pub fn create(
device: &Arc<Device>,
queue_family: QueueFamily
) -> Result<Self, DriverError>
pub fn queue_family_index(this: &Self) -> u32
Trait Implementations
sourceimpl Debug for CommandBuffer
impl Debug for CommandBuffer
sourceimpl Deref for CommandBuffer
impl Deref for CommandBuffer
type Target = CommandBuffer
type Target = CommandBuffer
The resulting type after dereferencing.
Auto Trait Implementations
impl !RefUnwindSafe for CommandBuffer
impl Send for CommandBuffer
impl !Sync for CommandBuffer
impl Unpin for CommandBuffer
impl !UnwindSafe for CommandBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more