pub struct AllocationId(/* private fields */);Expand description
Identifies one allocation across its typed handles, mappings, and subranges.
Implementations§
Trait Implementations§
Source§impl Clone for AllocationId
impl Clone for AllocationId
impl Copy for AllocationId
Source§impl Debug for AllocationId
impl Debug for AllocationId
impl Eq for AllocationId
Source§impl Hash for AllocationId
impl Hash for AllocationId
Source§impl Ord for AllocationId
impl Ord for AllocationId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AllocationId
impl PartialEq for AllocationId
Source§impl PartialOrd for AllocationId
impl PartialOrd for AllocationId
impl StructuralPartialEq for AllocationId
Auto Trait Implementations§
impl Forget for AllocationId
impl Freeze for AllocationId
impl Move for AllocationId
impl RefUnwindSafe for AllocationId
impl Send for AllocationId
impl Sync for AllocationId
impl Unpin for AllocationId
impl UnsafeUnpin for AllocationId
impl UnwindSafe for AllocationId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.