Struct vulkano::command_buffer::sys::UnsafeCommandBuffer
source · [−]pub struct UnsafeCommandBuffer { /* private fields */ }
Expand description
Command buffer that has been built.
Safety
The command buffer must not outlive the command pool that it was created from, nor the resources used by the recorded commands.
Implementations
sourceimpl UnsafeCommandBuffer
impl UnsafeCommandBuffer
pub fn usage(&self) -> CommandBufferUsage
Trait Implementations
sourceimpl AsRef<UnsafeCommandBuffer> for SyncCommandBuffer
impl AsRef<UnsafeCommandBuffer> for SyncCommandBuffer
sourcefn as_ref(&self) -> &UnsafeCommandBuffer
fn as_ref(&self) -> &UnsafeCommandBuffer
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl DeviceOwned for UnsafeCommandBuffer
impl DeviceOwned for UnsafeCommandBuffer
sourceimpl VulkanObject for UnsafeCommandBuffer
impl VulkanObject for UnsafeCommandBuffer
type Object = CommandBuffer
type Object = CommandBuffer
The type of the object.
sourcefn internal_object(&self) -> CommandBuffer
fn internal_object(&self) -> CommandBuffer
Returns a reference to the object.
Auto Trait Implementations
impl !RefUnwindSafe for UnsafeCommandBuffer
impl Send for UnsafeCommandBuffer
impl Sync for UnsafeCommandBuffer
impl Unpin for UnsafeCommandBuffer
impl !UnwindSafe for UnsafeCommandBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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