pub struct MemoryLocation {
pub kind: MemoryLocationKind,
pub id: i32,
}Fields§
§kind: MemoryLocationKind§id: i32Trait Implementations§
Source§impl Clone for MemoryLocation
impl Clone for MemoryLocation
Source§fn clone(&self) -> MemoryLocation
fn clone(&self) -> MemoryLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryLocation
Source§impl Debug for MemoryLocation
impl Debug for MemoryLocation
Source§impl Default for MemoryLocation
impl Default for MemoryLocation
impl Eq for MemoryLocation
Source§impl From<CUmemLocation_st> for MemoryLocation
impl From<CUmemLocation_st> for MemoryLocation
Source§fn from(s: CUmemLocation_st) -> Self
fn from(s: CUmemLocation_st) -> Self
Converts to this type from the input type.
Source§impl From<MemoryLocation> for CUmemLocation_st
impl From<MemoryLocation> for CUmemLocation_st
Source§fn from(m: MemoryLocation) -> Self
fn from(m: MemoryLocation) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryLocation
impl Hash for MemoryLocation
Source§impl Ord for MemoryLocation
impl Ord for MemoryLocation
Source§fn cmp(&self, other: &MemoryLocation) -> Ordering
fn cmp(&self, other: &MemoryLocation) -> Ordering
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
Source§impl PartialEq for MemoryLocation
impl PartialEq for MemoryLocation
Source§fn eq(&self, other: &MemoryLocation) -> bool
fn eq(&self, other: &MemoryLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MemoryLocation
impl PartialOrd for MemoryLocation
impl StructuralPartialEq for MemoryLocation
Auto Trait Implementations§
impl Freeze for MemoryLocation
impl RefUnwindSafe for MemoryLocation
impl Send for MemoryLocation
impl Sync for MemoryLocation
impl Unpin for MemoryLocation
impl UnsafeUnpin for MemoryLocation
impl UnwindSafe for MemoryLocation
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