#[repr(transparent)]pub struct SparseMemoryBindFlags(_);Expand description
Implementations
sourceimpl SparseMemoryBindFlags
impl SparseMemoryBindFlags
pub const fn empty() -> SparseMemoryBindFlags
pub const fn from_raw(x: u32) -> SparseMemoryBindFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SparseMemoryBindFlags) -> bool
sourcepub const fn contains(self, other: SparseMemoryBindFlags) -> bool
pub const fn contains(self, other: SparseMemoryBindFlags) -> bool
Returns whether other is a subset of self
sourceimpl SparseMemoryBindFlags
impl SparseMemoryBindFlags
sourcepub const METADATA: SparseMemoryBindFlags = Self(1)
pub const METADATA: SparseMemoryBindFlags = Self(1)
Operation binds resource metadata to memory
Trait Implementations
sourceimpl BitAnd<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitAnd<SparseMemoryBindFlags> for SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
fn bitand(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitAndAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn bitand_assign(&mut self, rhs: SparseMemoryBindFlags)
fn bitand_assign(&mut self, rhs: SparseMemoryBindFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitOr<SparseMemoryBindFlags> for SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
fn bitor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitOrAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn bitor_assign(&mut self, rhs: SparseMemoryBindFlags)
fn bitor_assign(&mut self, rhs: SparseMemoryBindFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitXor<SparseMemoryBindFlags> for SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
fn bitxor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitXorAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn bitxor_assign(&mut self, rhs: SparseMemoryBindFlags)
fn bitxor_assign(&mut self, rhs: SparseMemoryBindFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SparseMemoryBindFlags
impl Clone for SparseMemoryBindFlags
sourcefn clone(&self) -> SparseMemoryBindFlags
fn clone(&self) -> SparseMemoryBindFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SparseMemoryBindFlags
impl Debug for SparseMemoryBindFlags
sourceimpl Default for SparseMemoryBindFlags
impl Default for SparseMemoryBindFlags
sourcefn default() -> SparseMemoryBindFlags
fn default() -> SparseMemoryBindFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SparseMemoryBindFlags
impl Hash for SparseMemoryBindFlags
sourceimpl Not for SparseMemoryBindFlags
impl Not for SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
type Output = SparseMemoryBindFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> SparseMemoryBindFlags
fn not(self) -> SparseMemoryBindFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SparseMemoryBindFlags
impl Ord for SparseMemoryBindFlags
sourceimpl PartialEq<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl PartialEq<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn eq(&self, other: &SparseMemoryBindFlags) -> bool
fn eq(&self, other: &SparseMemoryBindFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SparseMemoryBindFlags) -> bool
fn ne(&self, other: &SparseMemoryBindFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl PartialOrd<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn partial_cmp(&self, other: &SparseMemoryBindFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SparseMemoryBindFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for SparseMemoryBindFlags
impl Eq for SparseMemoryBindFlags
impl StructuralEq for SparseMemoryBindFlags
impl StructuralPartialEq for SparseMemoryBindFlags
Auto Trait Implementations
impl RefUnwindSafe for SparseMemoryBindFlags
impl Send for SparseMemoryBindFlags
impl Sync for SparseMemoryBindFlags
impl Unpin for SparseMemoryBindFlags
impl UnwindSafe for SparseMemoryBindFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more