pub struct MemoryHeapFlagBits(/* private fields */);Expand description
Implementations§
Source§impl MemoryHeapFlagBits
impl MemoryHeapFlagBits
Sourcepub const DEVICE_LOCAL: Self
pub const DEVICE_LOCAL: Self
Bit 0.
Sourcepub const MULTI_INSTANCE: Self
pub const MULTI_INSTANCE: Self
Bit 1.
Sourcepub const TILE_MEMORY_BIT: Self
pub const TILE_MEMORY_BIT: Self
Bit 3.
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 MemoryHeapFlagBits
impl BitAnd for MemoryHeapFlagBits
Source§impl BitAndAssign for MemoryHeapFlagBits
impl BitAndAssign for MemoryHeapFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for MemoryHeapFlagBits
impl BitOr for MemoryHeapFlagBits
Source§impl BitOrAssign for MemoryHeapFlagBits
impl BitOrAssign for MemoryHeapFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for MemoryHeapFlagBits
impl BitXor for MemoryHeapFlagBits
Source§impl BitXorAssign for MemoryHeapFlagBits
impl BitXorAssign for MemoryHeapFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for MemoryHeapFlagBits
impl Clone for MemoryHeapFlagBits
Source§fn clone(&self) -> MemoryHeapFlagBits
fn clone(&self) -> MemoryHeapFlagBits
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 MemoryHeapFlagBits
impl Debug for MemoryHeapFlagBits
Source§impl Default for MemoryHeapFlagBits
impl Default for MemoryHeapFlagBits
Source§fn default() -> MemoryHeapFlagBits
fn default() -> MemoryHeapFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for MemoryHeapFlagBits
impl Hash for MemoryHeapFlagBits
Source§impl Not for MemoryHeapFlagBits
impl Not for MemoryHeapFlagBits
Source§impl Ord for MemoryHeapFlagBits
impl Ord for MemoryHeapFlagBits
Source§fn cmp(&self, other: &MemoryHeapFlagBits) -> Ordering
fn cmp(&self, other: &MemoryHeapFlagBits) -> 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 MemoryHeapFlagBits
impl PartialEq for MemoryHeapFlagBits
Source§impl PartialOrd for MemoryHeapFlagBits
impl PartialOrd for MemoryHeapFlagBits
impl Copy for MemoryHeapFlagBits
impl Eq for MemoryHeapFlagBits
impl StructuralPartialEq for MemoryHeapFlagBits
Auto Trait Implementations§
impl Freeze for MemoryHeapFlagBits
impl RefUnwindSafe for MemoryHeapFlagBits
impl Send for MemoryHeapFlagBits
impl Sync for MemoryHeapFlagBits
impl Unpin for MemoryHeapFlagBits
impl UnsafeUnpin for MemoryHeapFlagBits
impl UnwindSafe for MemoryHeapFlagBits
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