#[repr(transparent)]pub struct CommandBufferUsageFlags(_);Expand description
Implementations
sourceimpl CommandBufferUsageFlags
impl CommandBufferUsageFlags
pub const fn empty() -> CommandBufferUsageFlags
pub const fn from_raw(x: u32) -> CommandBufferUsageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: CommandBufferUsageFlags) -> bool
sourcepub const fn contains(self, other: CommandBufferUsageFlags) -> bool
pub const fn contains(self, other: CommandBufferUsageFlags) -> bool
Returns whether other is a subset of self
sourceimpl CommandBufferUsageFlags
impl CommandBufferUsageFlags
pub const ONE_TIME_SUBMIT: CommandBufferUsageFlags = Self(1)
pub const RENDER_PASS_CONTINUE: CommandBufferUsageFlags = Self(2)
sourcepub const SIMULTANEOUS_USE: CommandBufferUsageFlags = Self(4)
pub const SIMULTANEOUS_USE: CommandBufferUsageFlags = Self(4)
Command buffer may be submitted/executed more than once simultaneously
Trait Implementations
sourceimpl BitAnd<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitAnd<CommandBufferUsageFlags> for CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitAndAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the &= operation. Read more
sourceimpl BitOr<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitOr<CommandBufferUsageFlags> for CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitOrAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the |= operation. Read more
sourceimpl BitXor<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitXor<CommandBufferUsageFlags> for CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitXorAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the ^= operation. Read more
sourceimpl Clone for CommandBufferUsageFlags
impl Clone for CommandBufferUsageFlags
sourcefn clone(&self) -> CommandBufferUsageFlags
fn clone(&self) -> CommandBufferUsageFlags
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 CommandBufferUsageFlags
impl Debug for CommandBufferUsageFlags
sourceimpl Default for CommandBufferUsageFlags
impl Default for CommandBufferUsageFlags
sourcefn default() -> CommandBufferUsageFlags
fn default() -> CommandBufferUsageFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for CommandBufferUsageFlags
impl Hash for CommandBufferUsageFlags
sourceimpl Not for CommandBufferUsageFlags
impl Not for CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> CommandBufferUsageFlags
fn not(self) -> CommandBufferUsageFlags
Performs the unary ! operation. Read more
sourceimpl Ord for CommandBufferUsageFlags
impl Ord for CommandBufferUsageFlags
sourceimpl PartialEq<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialEq<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn eq(&self, other: &CommandBufferUsageFlags) -> bool
fn eq(&self, other: &CommandBufferUsageFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CommandBufferUsageFlags) -> bool
fn ne(&self, other: &CommandBufferUsageFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialOrd<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn partial_cmp(&self, other: &CommandBufferUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandBufferUsageFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for CommandBufferUsageFlags
impl Eq for CommandBufferUsageFlags
impl StructuralEq for CommandBufferUsageFlags
impl StructuralPartialEq for CommandBufferUsageFlags
Auto Trait Implementations
impl RefUnwindSafe for CommandBufferUsageFlags
impl Send for CommandBufferUsageFlags
impl Sync for CommandBufferUsageFlags
impl Unpin for CommandBufferUsageFlags
impl UnwindSafe for CommandBufferUsageFlags
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