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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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 moresourceimpl Ord for CommandBufferUsageFlags
impl Ord for CommandBufferUsageFlags
sourcefn cmp(&self, other: &CommandBufferUsageFlags) -> Ordering
fn cmp(&self, other: &CommandBufferUsageFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialEq<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcefn eq(&self, other: &CommandBufferUsageFlags) -> bool
fn eq(&self, other: &CommandBufferUsageFlags) -> bool
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>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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