pub struct ExternalMemoryFeatureFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalMemoryFeatureFlagBits
impl ExternalMemoryFeatureFlagBits
Sourcepub const DEDICATED_ONLY: Self
pub const DEDICATED_ONLY: Self
Bit 0.
Sourcepub const EXPORTABLE: Self
pub const EXPORTABLE: Self
Bit 1.
Sourcepub const IMPORTABLE: Self
pub const IMPORTABLE: Self
Bit 2.
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 BitAndAssign for ExternalMemoryFeatureFlagBits
impl BitAndAssign for ExternalMemoryFeatureFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for ExternalMemoryFeatureFlagBits
impl BitOrAssign for ExternalMemoryFeatureFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for ExternalMemoryFeatureFlagBits
impl BitXorAssign for ExternalMemoryFeatureFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ExternalMemoryFeatureFlagBits
impl Clone for ExternalMemoryFeatureFlagBits
Source§fn clone(&self) -> ExternalMemoryFeatureFlagBits
fn clone(&self) -> ExternalMemoryFeatureFlagBits
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 Default for ExternalMemoryFeatureFlagBits
impl Default for ExternalMemoryFeatureFlagBits
Source§fn default() -> ExternalMemoryFeatureFlagBits
fn default() -> ExternalMemoryFeatureFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for ExternalMemoryFeatureFlagBits
impl Hash for ExternalMemoryFeatureFlagBits
Source§impl Not for ExternalMemoryFeatureFlagBits
impl Not for ExternalMemoryFeatureFlagBits
Source§impl Ord for ExternalMemoryFeatureFlagBits
impl Ord for ExternalMemoryFeatureFlagBits
Source§fn cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> Ordering
fn cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> 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 ExternalMemoryFeatureFlagBits
impl PartialEq for ExternalMemoryFeatureFlagBits
Source§fn eq(&self, other: &ExternalMemoryFeatureFlagBits) -> bool
fn eq(&self, other: &ExternalMemoryFeatureFlagBits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalMemoryFeatureFlagBits
impl PartialOrd for ExternalMemoryFeatureFlagBits
impl Copy for ExternalMemoryFeatureFlagBits
impl Eq for ExternalMemoryFeatureFlagBits
impl StructuralPartialEq for ExternalMemoryFeatureFlagBits
Auto Trait Implementations§
impl Freeze for ExternalMemoryFeatureFlagBits
impl RefUnwindSafe for ExternalMemoryFeatureFlagBits
impl Send for ExternalMemoryFeatureFlagBits
impl Sync for ExternalMemoryFeatureFlagBits
impl Unpin for ExternalMemoryFeatureFlagBits
impl UnsafeUnpin for ExternalMemoryFeatureFlagBits
impl UnwindSafe for ExternalMemoryFeatureFlagBits
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