pub struct CommandBufferUsageFlags(/* private fields */);Expand description
Implementations§
Source§impl 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
Source§impl CommandBufferUsageFlags
impl CommandBufferUsageFlags
pub const ONE_TIME_SUBMIT: CommandBufferUsageFlags
pub const RENDER_PASS_CONTINUE: CommandBufferUsageFlags
Sourcepub const SIMULTANEOUS_USE: CommandBufferUsageFlags
pub const SIMULTANEOUS_USE: CommandBufferUsageFlags
Command buffer may be submitted/executed more than once simultaneously
Trait Implementations§
Source§impl BitAnd for CommandBufferUsageFlags
impl BitAnd for CommandBufferUsageFlags
Source§type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for CommandBufferUsageFlags
impl BitAndAssign for CommandBufferUsageFlags
Source§fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the
&= operation. Read moreSource§impl BitOr for CommandBufferUsageFlags
impl BitOr for CommandBufferUsageFlags
Source§type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for CommandBufferUsageFlags
impl BitOrAssign for CommandBufferUsageFlags
Source§fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the
|= operation. Read moreSource§impl BitXor for CommandBufferUsageFlags
impl BitXor for CommandBufferUsageFlags
Source§type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
fn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for CommandBufferUsageFlags
impl BitXorAssign for CommandBufferUsageFlags
Source§fn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the
^= operation. Read moreSource§impl Clone for CommandBufferUsageFlags
impl Clone for CommandBufferUsageFlags
Source§fn clone(&self) -> CommandBufferUsageFlags
fn clone(&self) -> CommandBufferUsageFlags
Returns a copy 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 CommandBufferUsageFlags
impl Debug for CommandBufferUsageFlags
Source§impl Default for CommandBufferUsageFlags
impl Default for CommandBufferUsageFlags
Source§fn default() -> CommandBufferUsageFlags
fn default() -> CommandBufferUsageFlags
Returns the “default value” for a type. Read more
Source§impl Hash for CommandBufferUsageFlags
impl Hash for CommandBufferUsageFlags
Source§impl Not for CommandBufferUsageFlags
impl Not for CommandBufferUsageFlags
Source§type Output = CommandBufferUsageFlags
type Output = CommandBufferUsageFlags
The resulting type after applying the
! operator.Source§fn not(self) -> CommandBufferUsageFlags
fn not(self) -> CommandBufferUsageFlags
Performs the unary
! operation. Read moreSource§impl Ord for CommandBufferUsageFlags
impl Ord for CommandBufferUsageFlags
Source§fn cmp(&self, other: &CommandBufferUsageFlags) -> Ordering
fn cmp(&self, other: &CommandBufferUsageFlags) -> 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 PartialEq for CommandBufferUsageFlags
impl PartialEq for CommandBufferUsageFlags
Source§impl PartialOrd for CommandBufferUsageFlags
impl PartialOrd for CommandBufferUsageFlags
impl Copy for CommandBufferUsageFlags
impl Eq for CommandBufferUsageFlags
impl StructuralPartialEq for CommandBufferUsageFlags
Auto Trait Implementations§
impl Freeze for CommandBufferUsageFlags
impl RefUnwindSafe for CommandBufferUsageFlags
impl Send for CommandBufferUsageFlags
impl Sync for CommandBufferUsageFlags
impl Unpin for CommandBufferUsageFlags
impl UnwindSafe for CommandBufferUsageFlags
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