#[repr(i32)]pub enum CommandBufferLevel {
Primary = 0,
Secondary = 1,
}
Expand description
Determines the kind of command buffer to create.
Variants§
Primary = 0
Primary command buffers can be executed on a queue, and can call secondary command buffers. Render passes must begin and end within the same primary command buffer.
Secondary = 1
Secondary command buffers cannot be executed on a queue, but can be executed by a primary command buffer. If created for a render pass, they must fit within a single render subpass.
Trait Implementations§
source§impl Clone for CommandBufferLevel
impl Clone for CommandBufferLevel
source§fn clone(&self) -> CommandBufferLevel
fn clone(&self) -> CommandBufferLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandBufferLevel
impl Debug for CommandBufferLevel
source§impl From<CommandBufferLevel> for CommandBufferLevel
impl From<CommandBufferLevel> for CommandBufferLevel
source§fn from(val: CommandBufferLevel) -> Self
fn from(val: CommandBufferLevel) -> Self
Converts to this type from the input type.
source§impl Hash for CommandBufferLevel
impl Hash for CommandBufferLevel
source§impl PartialEq for CommandBufferLevel
impl PartialEq for CommandBufferLevel
source§fn eq(&self, other: &CommandBufferLevel) -> bool
fn eq(&self, other: &CommandBufferLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommandBufferLevel
impl Eq for CommandBufferLevel
impl StructuralEq for CommandBufferLevel
impl StructuralPartialEq for CommandBufferLevel
Auto Trait Implementations§
impl RefUnwindSafe for CommandBufferLevel
impl Send for CommandBufferLevel
impl Sync for CommandBufferLevel
impl Unpin for CommandBufferLevel
impl UnwindSafe for CommandBufferLevel
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