#[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 duplicate 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) -> CommandBufferLevel
fn from(val: CommandBufferLevel) -> CommandBufferLevel
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§impl TryFrom<CommandBufferLevel> for CommandBufferLevel
impl TryFrom<CommandBufferLevel> for CommandBufferLevel
Source§fn try_from(
val: CommandBufferLevel,
) -> Result<CommandBufferLevel, <CommandBufferLevel as TryFrom<CommandBufferLevel>>::Error>
fn try_from( val: CommandBufferLevel, ) -> Result<CommandBufferLevel, <CommandBufferLevel as TryFrom<CommandBufferLevel>>::Error>
Performs the conversion.
impl Copy for CommandBufferLevel
impl Eq for CommandBufferLevel
impl StructuralPartialEq for CommandBufferLevel
Auto Trait Implementations§
impl Freeze for CommandBufferLevel
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