Enum vulkano::command_buffer::CommandBufferLevel
source · [−]#[repr(i32)]
pub enum CommandBufferLevel {
Primary,
Secondary,
}
Expand description
Determines the kind of command buffer to create.
Variants
Primary
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
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
sourceimpl Clone for CommandBufferLevel
impl Clone for CommandBufferLevel
sourcefn clone(&self) -> CommandBufferLevel
fn clone(&self) -> CommandBufferLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommandBufferLevel
impl Debug for CommandBufferLevel
sourceimpl From<CommandBufferLevel> for CommandBufferLevel
impl From<CommandBufferLevel> for CommandBufferLevel
sourcefn from(val: CommandBufferLevel) -> Self
fn from(val: CommandBufferLevel) -> Self
Performs the conversion.
sourceimpl Hash for CommandBufferLevel
impl Hash for CommandBufferLevel
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more