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