pub struct MemoryPropertyFlagBits(/* private fields */);Expand description
Implementations§
Source§impl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
Sourcepub const DEVICE_LOCAL: MemoryPropertyFlagBits
pub const DEVICE_LOCAL: MemoryPropertyFlagBits
Bit 0.
Sourcepub const HOST_VISIBLE: MemoryPropertyFlagBits
pub const HOST_VISIBLE: MemoryPropertyFlagBits
Bit 1.
Sourcepub const HOST_COHERENT: MemoryPropertyFlagBits
pub const HOST_COHERENT: MemoryPropertyFlagBits
Bit 2.
Sourcepub const HOST_CACHED: MemoryPropertyFlagBits
pub const HOST_CACHED: MemoryPropertyFlagBits
Bit 3.
Sourcepub const LAZILY_ALLOCATED: MemoryPropertyFlagBits
pub const LAZILY_ALLOCATED: MemoryPropertyFlagBits
Bit 4.
Sourcepub const PROTECTED: MemoryPropertyFlagBits
pub const PROTECTED: MemoryPropertyFlagBits
Bit 5.
Sourcepub const DEVICE_COHERENT: MemoryPropertyFlagBits
pub const DEVICE_COHERENT: MemoryPropertyFlagBits
Bit 6.
Sourcepub const DEVICE_UNCACHED: MemoryPropertyFlagBits
pub const DEVICE_UNCACHED: MemoryPropertyFlagBits
Bit 7.
Sourcepub const RDMA_CAPABLE: MemoryPropertyFlagBits
pub const RDMA_CAPABLE: MemoryPropertyFlagBits
Bit 8.
pub const fn empty() -> MemoryPropertyFlagBits
pub const fn from_raw(value: u32) -> MemoryPropertyFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: MemoryPropertyFlagBits) -> bool
pub const fn all() -> MemoryPropertyFlagBits
Trait Implementations§
Source§impl BitAnd for MemoryPropertyFlagBits
impl BitAnd for MemoryPropertyFlagBits
Source§type Output = MemoryPropertyFlagBits
type Output = MemoryPropertyFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
fn bitand(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for MemoryPropertyFlagBits
impl BitAndAssign for MemoryPropertyFlagBits
Source§fn bitand_assign(&mut self, rhs: MemoryPropertyFlagBits)
fn bitand_assign(&mut self, rhs: MemoryPropertyFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for MemoryPropertyFlagBits
impl BitOr for MemoryPropertyFlagBits
Source§type Output = MemoryPropertyFlagBits
type Output = MemoryPropertyFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
fn bitor(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for MemoryPropertyFlagBits
impl BitOrAssign for MemoryPropertyFlagBits
Source§fn bitor_assign(&mut self, rhs: MemoryPropertyFlagBits)
fn bitor_assign(&mut self, rhs: MemoryPropertyFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for MemoryPropertyFlagBits
impl BitXor for MemoryPropertyFlagBits
Source§type Output = MemoryPropertyFlagBits
type Output = MemoryPropertyFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
fn bitxor(self, rhs: MemoryPropertyFlagBits) -> MemoryPropertyFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for MemoryPropertyFlagBits
impl BitXorAssign for MemoryPropertyFlagBits
Source§fn bitxor_assign(&mut self, rhs: MemoryPropertyFlagBits)
fn bitxor_assign(&mut self, rhs: MemoryPropertyFlagBits)
Performs the
^= operation. Read moreSource§impl Clone for MemoryPropertyFlagBits
impl Clone for MemoryPropertyFlagBits
Source§fn clone(&self) -> MemoryPropertyFlagBits
fn clone(&self) -> MemoryPropertyFlagBits
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 MemoryPropertyFlagBits
impl Debug for MemoryPropertyFlagBits
Source§impl Default for MemoryPropertyFlagBits
impl Default for MemoryPropertyFlagBits
Source§fn default() -> MemoryPropertyFlagBits
fn default() -> MemoryPropertyFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for MemoryPropertyFlagBits
impl Hash for MemoryPropertyFlagBits
Source§impl Not for MemoryPropertyFlagBits
impl Not for MemoryPropertyFlagBits
Source§type Output = MemoryPropertyFlagBits
type Output = MemoryPropertyFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> MemoryPropertyFlagBits
fn not(self) -> MemoryPropertyFlagBits
Performs the unary
! operation. Read moreSource§impl Ord for MemoryPropertyFlagBits
impl Ord for MemoryPropertyFlagBits
Source§fn cmp(&self, other: &MemoryPropertyFlagBits) -> Ordering
fn cmp(&self, other: &MemoryPropertyFlagBits) -> 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 MemoryPropertyFlagBits
impl PartialEq for MemoryPropertyFlagBits
Source§impl PartialOrd for MemoryPropertyFlagBits
impl PartialOrd for MemoryPropertyFlagBits
impl Copy for MemoryPropertyFlagBits
impl Eq for MemoryPropertyFlagBits
impl StructuralPartialEq for MemoryPropertyFlagBits
Auto Trait Implementations§
impl Freeze for MemoryPropertyFlagBits
impl RefUnwindSafe for MemoryPropertyFlagBits
impl Send for MemoryPropertyFlagBits
impl Sync for MemoryPropertyFlagBits
impl Unpin for MemoryPropertyFlagBits
impl UnsafeUnpin for MemoryPropertyFlagBits
impl UnwindSafe for MemoryPropertyFlagBits
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