pub struct MemoryHeapFlagBits(/* private fields */);Expand description
Implementations§
Source§impl MemoryHeapFlagBits
impl MemoryHeapFlagBits
Sourcepub const DEVICE_LOCAL: MemoryHeapFlagBits
pub const DEVICE_LOCAL: MemoryHeapFlagBits
Bit 0.
Sourcepub const MULTI_INSTANCE: MemoryHeapFlagBits
pub const MULTI_INSTANCE: MemoryHeapFlagBits
Bit 1.
Sourcepub const SEU_SAFE: MemoryHeapFlagBits
pub const SEU_SAFE: MemoryHeapFlagBits
Bit 2.
Sourcepub const TILE_MEMORY_BIT: MemoryHeapFlagBits
pub const TILE_MEMORY_BIT: MemoryHeapFlagBits
Bit 3.
pub const fn empty() -> MemoryHeapFlagBits
pub const fn from_raw(value: u32) -> MemoryHeapFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: MemoryHeapFlagBits) -> bool
pub const fn all() -> MemoryHeapFlagBits
Trait Implementations§
Source§impl BitAnd for MemoryHeapFlagBits
impl BitAnd for MemoryHeapFlagBits
Source§type Output = MemoryHeapFlagBits
type Output = MemoryHeapFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
fn bitand(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for MemoryHeapFlagBits
impl BitAndAssign for MemoryHeapFlagBits
Source§fn bitand_assign(&mut self, rhs: MemoryHeapFlagBits)
fn bitand_assign(&mut self, rhs: MemoryHeapFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for MemoryHeapFlagBits
impl BitOr for MemoryHeapFlagBits
Source§type Output = MemoryHeapFlagBits
type Output = MemoryHeapFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
fn bitor(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for MemoryHeapFlagBits
impl BitOrAssign for MemoryHeapFlagBits
Source§fn bitor_assign(&mut self, rhs: MemoryHeapFlagBits)
fn bitor_assign(&mut self, rhs: MemoryHeapFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for MemoryHeapFlagBits
impl BitXor for MemoryHeapFlagBits
Source§type Output = MemoryHeapFlagBits
type Output = MemoryHeapFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
fn bitxor(self, rhs: MemoryHeapFlagBits) -> MemoryHeapFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for MemoryHeapFlagBits
impl BitXorAssign for MemoryHeapFlagBits
Source§fn bitxor_assign(&mut self, rhs: MemoryHeapFlagBits)
fn bitxor_assign(&mut self, rhs: MemoryHeapFlagBits)
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§type Output = MemoryHeapFlagBits
type Output = MemoryHeapFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> MemoryHeapFlagBits
fn not(self) -> MemoryHeapFlagBits
Performs the unary
! operation. Read moreSource§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