#[repr(transparent)]pub struct SparseMemoryBindFlags(_);Expand description
Implementations
sourceimpl SparseMemoryBindFlags
impl SparseMemoryBindFlags
sourcepub const METADATA: SparseMemoryBindFlags
pub const METADATA: SparseMemoryBindFlags
Operation binds resource metadata to memory
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
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.
sourcepub fn bitand(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
pub fn bitand(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitAndAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcepub fn bitand_assign(&mut self, rhs: SparseMemoryBindFlags)
pub 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.
sourcepub fn bitor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
pub fn bitor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitOrAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcepub fn bitor_assign(&mut self, rhs: SparseMemoryBindFlags)
pub 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.
sourcepub fn bitxor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
pub fn bitxor(self, rhs: SparseMemoryBindFlags) -> SparseMemoryBindFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl BitXorAssign<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcepub fn bitxor_assign(&mut self, rhs: SparseMemoryBindFlags)
pub fn bitxor_assign(&mut self, rhs: SparseMemoryBindFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SparseMemoryBindFlags
impl Clone for SparseMemoryBindFlags
sourcepub fn clone(&self) -> SparseMemoryBindFlags
pub 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
sourcepub fn default() -> SparseMemoryBindFlags
pub 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.
sourcepub fn not(self) -> SparseMemoryBindFlags
pub 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
sourcepub fn eq(&self, other: &SparseMemoryBindFlags) -> bool
pub fn eq(&self, other: &SparseMemoryBindFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &SparseMemoryBindFlags) -> bool
pub fn ne(&self, other: &SparseMemoryBindFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl PartialOrd<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcepub fn partial_cmp(&self, other: &SparseMemoryBindFlags) -> Option<Ordering>
pub 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more