Struct vulkano::command_buffer::sys::UnsafeCommandBuffer
source · pub struct UnsafeCommandBuffer<P> { /* private fields */ }
Expand description
Command buffer that has been built.
Doesn’t perform any synchronization and doesn’t keep the object it uses alive.
Trait Implementations
sourceimpl<P> AsRef<UnsafeCommandBuffer<P>> for SyncCommandBuffer<P>
impl<P> AsRef<UnsafeCommandBuffer<P>> for SyncCommandBuffer<P>
sourcefn as_ref(&self) -> &UnsafeCommandBuffer<P>
fn as_ref(&self) -> &UnsafeCommandBuffer<P>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl<P> DeviceOwned for UnsafeCommandBuffer<P>
impl<P> DeviceOwned for UnsafeCommandBuffer<P>
sourceimpl<P> VulkanObject for UnsafeCommandBuffer<P>
impl<P> VulkanObject for UnsafeCommandBuffer<P>
sourceconst TYPE: DebugReportObjectTypeEXT = 6u32
const TYPE: DebugReportObjectTypeEXT = 6u32
The
DebugReportObjectTypeEXT
of the internal Vulkan handle.sourcefn internal_object(&self) -> CommandBuffer
fn internal_object(&self) -> CommandBuffer
Returns a reference to the object.
Auto Trait Implementations
impl<P> RefUnwindSafe for UnsafeCommandBuffer<P>where
P: RefUnwindSafe,
impl<P> Send for UnsafeCommandBuffer<P>where
P: Send,
impl<P> Sync for UnsafeCommandBuffer<P>where
P: Sync,
impl<P> Unpin for UnsafeCommandBuffer<P>where
P: Unpin,
impl<P> UnwindSafe for UnsafeCommandBuffer<P>where
P: UnwindSafe,
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.