Enum vulkano::command_buffer::sys::Flags [−][src]
pub enum Flags { None, SimultaneousUse, OneTimeSubmit, }
Flags to pass when creating a command buffer.
The safest option is SimultaneousUse
, but it may be slower than the other two.
Variants
None
The command buffer can be used multiple times, but must not execute more than once simultaneously.
SimultaneousUse
The command buffer can be executed multiple times in parallel.
OneTimeSubmit
The command buffer can only be submitted once. Any further submit is forbidden.
Trait Implementations
impl Debug for Flags
[src]
impl Debug for Flags
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Flags
[src]
impl Copy for Flags
impl Clone for Flags
[src]
impl Clone for Flags
fn clone(&self) -> Flags
[src]
fn clone(&self) -> Flags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Flags
[src]
impl PartialEq for Flags
fn eq(&self, other: &Flags) -> bool
[src]
fn eq(&self, other: &Flags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Flags
[src]
impl Eq for Flags