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