pub struct MemoryLocationId(/* private fields */);Expand description
An ID in the source map labelling some memory location
Trait Implementations§
Source§impl Clone for MemoryLocationId
impl Clone for MemoryLocationId
Source§fn clone(&self) -> MemoryLocationId
fn clone(&self) -> MemoryLocationId
Returns a copy 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 Debug for MemoryLocationId
impl Debug for MemoryLocationId
Source§impl Display for MemoryLocationId
impl Display for MemoryLocationId
Source§impl From<u32> for MemoryLocationId
impl From<u32> for MemoryLocationId
Source§impl Hash for MemoryLocationId
impl Hash for MemoryLocationId
Source§impl Ord for MemoryLocationId
impl Ord for MemoryLocationId
Source§fn cmp(&self, other: &MemoryLocationId) -> Ordering
fn cmp(&self, other: &MemoryLocationId) -> 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 MemoryLocationId
impl PartialEq for MemoryLocationId
Source§impl PartialOrd for MemoryLocationId
impl PartialOrd for MemoryLocationId
Source§impl TryFrom<u64> for MemoryLocationId
impl TryFrom<u64> for MemoryLocationId
impl Copy for MemoryLocationId
impl Eq for MemoryLocationId
impl StructuralPartialEq for MemoryLocationId
Auto Trait Implementations§
impl Freeze for MemoryLocationId
impl RefUnwindSafe for MemoryLocationId
impl Send for MemoryLocationId
impl Sync for MemoryLocationId
impl Unpin for MemoryLocationId
impl UnwindSafe for MemoryLocationId
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<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more