Struct screen_13::driver::CommandBuffer
source · [−]pub struct CommandBuffer<P> where
P: SharedPointerKind, {
pub fence: Fence,
pub pool: CommandPool,
/* private fields */
}Fields
fence: Fencepool: CommandPoolImplementations
sourceimpl<P> CommandBuffer<P> where
P: SharedPointerKind,
impl<P> CommandBuffer<P> where
P: SharedPointerKind,
pub fn create(
device: &SharedPointer<Device<P>, P>,
queue_family: QueueFamily
) -> Result<Self, DriverError>
pub fn queue_family_index(this: &Self) -> u32
Trait Implementations
sourceimpl<P: Debug> Debug for CommandBuffer<P> where
P: SharedPointerKind,
impl<P: Debug> Debug for CommandBuffer<P> where
P: SharedPointerKind,
sourceimpl<P> Deref for CommandBuffer<P> where
P: SharedPointerKind,
impl<P> Deref for CommandBuffer<P> where
P: SharedPointerKind,
type Target = CommandBuffer
type Target = CommandBuffer
The resulting type after dereferencing.
sourceimpl<P> Drop for CommandBuffer<P> where
P: SharedPointerKind,
impl<P> Drop for CommandBuffer<P> where
P: SharedPointerKind,
Auto Trait Implementations
impl<P> !RefUnwindSafe for CommandBuffer<P>
impl<P> Send for CommandBuffer<P> where
P: Send,
impl<P> !Sync for CommandBuffer<P>
impl<P> Unpin for CommandBuffer<P> where
P: Unpin,
impl<P> !UnwindSafe for CommandBuffer<P>
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