#[repr(transparent)]pub struct CommandBufferUsageFlags(_);Expand description
Implementations
sourceimpl 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
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
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.
sourcepub fn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
pub fn bitand(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitAndAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcepub fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
pub 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.
sourcepub fn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
pub fn bitor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitOrAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcepub fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
pub 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.
sourcepub fn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
pub fn bitxor(self, rhs: CommandBufferUsageFlags) -> CommandBufferUsageFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitXorAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcepub fn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
pub fn bitxor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the ^= operation. Read more
sourceimpl Clone for CommandBufferUsageFlags
impl Clone for CommandBufferUsageFlags
sourcepub fn clone(&self) -> CommandBufferUsageFlags
pub 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
sourcepub fn default() -> CommandBufferUsageFlags
pub 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.
sourcepub fn not(self) -> CommandBufferUsageFlags
pub 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
sourcepub fn eq(&self, other: &CommandBufferUsageFlags) -> bool
pub fn eq(&self, other: &CommandBufferUsageFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &CommandBufferUsageFlags) -> bool
pub fn ne(&self, other: &CommandBufferUsageFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialOrd<CommandBufferUsageFlags> for CommandBufferUsageFlags
sourcepub fn partial_cmp(&self, other: &CommandBufferUsageFlags) -> Option<Ordering>
pub 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more