pub struct CommandBufferUsageFlagBits(/* private fields */);Expand description
Implementations§
Source§impl CommandBufferUsageFlagBits
impl CommandBufferUsageFlagBits
Sourcepub const ONE_TIME_SUBMIT: Self
pub const ONE_TIME_SUBMIT: Self
Bit 0.
Sourcepub const RENDER_PASS_CONTINUE: Self
pub const RENDER_PASS_CONTINUE: Self
Bit 1.
Sourcepub const SIMULTANEOUS_USE: Self
pub const SIMULTANEOUS_USE: Self
Bit 2.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for CommandBufferUsageFlagBits
impl BitAnd for CommandBufferUsageFlagBits
Source§impl BitAndAssign for CommandBufferUsageFlagBits
impl BitAndAssign for CommandBufferUsageFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for CommandBufferUsageFlagBits
impl BitOr for CommandBufferUsageFlagBits
Source§impl BitOrAssign for CommandBufferUsageFlagBits
impl BitOrAssign for CommandBufferUsageFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for CommandBufferUsageFlagBits
impl BitXor for CommandBufferUsageFlagBits
Source§impl BitXorAssign for CommandBufferUsageFlagBits
impl BitXorAssign for CommandBufferUsageFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for CommandBufferUsageFlagBits
impl Clone for CommandBufferUsageFlagBits
Source§fn clone(&self) -> CommandBufferUsageFlagBits
fn clone(&self) -> CommandBufferUsageFlagBits
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 CommandBufferUsageFlagBits
impl Debug for CommandBufferUsageFlagBits
Source§impl Default for CommandBufferUsageFlagBits
impl Default for CommandBufferUsageFlagBits
Source§fn default() -> CommandBufferUsageFlagBits
fn default() -> CommandBufferUsageFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for CommandBufferUsageFlagBits
impl Hash for CommandBufferUsageFlagBits
Source§impl Not for CommandBufferUsageFlagBits
impl Not for CommandBufferUsageFlagBits
Source§impl Ord for CommandBufferUsageFlagBits
impl Ord for CommandBufferUsageFlagBits
Source§fn cmp(&self, other: &CommandBufferUsageFlagBits) -> Ordering
fn cmp(&self, other: &CommandBufferUsageFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CommandBufferUsageFlagBits
impl PartialOrd for CommandBufferUsageFlagBits
impl Copy for CommandBufferUsageFlagBits
impl Eq for CommandBufferUsageFlagBits
impl StructuralPartialEq for CommandBufferUsageFlagBits
Auto Trait Implementations§
impl Freeze for CommandBufferUsageFlagBits
impl RefUnwindSafe for CommandBufferUsageFlagBits
impl Send for CommandBufferUsageFlagBits
impl Sync for CommandBufferUsageFlagBits
impl Unpin for CommandBufferUsageFlagBits
impl UnsafeUnpin for CommandBufferUsageFlagBits
impl UnwindSafe for CommandBufferUsageFlagBits
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