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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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 moresourceimpl Ord for SparseMemoryBindFlags
impl Ord for SparseMemoryBindFlags
sourcefn cmp(&self, other: &SparseMemoryBindFlags) -> Ordering
fn cmp(&self, other: &SparseMemoryBindFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SparseMemoryBindFlags> for SparseMemoryBindFlags
impl PartialEq<SparseMemoryBindFlags> for SparseMemoryBindFlags
sourcefn eq(&self, other: &SparseMemoryBindFlags) -> bool
fn eq(&self, other: &SparseMemoryBindFlags) -> bool
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>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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