pub struct SpaceAddressValue {
pub space: AddressSpace,
pub offset: AddressValue,
}Expand description
A space-qualified address. Derefs to its AddressValue offset.
Fields§
§space: AddressSpace§offset: AddressValueTrait Implementations§
Source§impl Clone for SpaceAddressValue
impl Clone for SpaceAddressValue
Source§fn clone(&self) -> SpaceAddressValue
fn clone(&self) -> SpaceAddressValue
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 SpaceAddressValue
Source§impl Debug for SpaceAddressValue
impl Debug for SpaceAddressValue
Source§impl Deref for SpaceAddressValue
impl Deref for SpaceAddressValue
Source§impl<'de> Deserialize<'de> for SpaceAddressValue
impl<'de> Deserialize<'de> for SpaceAddressValue
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpaceAddressValue
Source§impl From<(AddressSpace, u32)> for SpaceAddressValue
impl From<(AddressSpace, u32)> for SpaceAddressValue
Source§fn from((space, offset): (AddressSpace, AddressValue)) -> Self
fn from((space, offset): (AddressSpace, AddressValue)) -> Self
Converts to this type from the input type.
Source§impl Hash for SpaceAddressValue
impl Hash for SpaceAddressValue
Source§impl Ord for SpaceAddressValue
impl Ord for SpaceAddressValue
Source§fn cmp(&self, other: &SpaceAddressValue) -> Ordering
fn cmp(&self, other: &SpaceAddressValue) -> 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
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 SpaceAddressValue
impl PartialEq for SpaceAddressValue
Source§impl PartialOrd for SpaceAddressValue
impl PartialOrd for SpaceAddressValue
Source§impl Serialize for SpaceAddressValue
impl Serialize for SpaceAddressValue
impl StructuralPartialEq for SpaceAddressValue
Auto Trait Implementations§
impl Freeze for SpaceAddressValue
impl RefUnwindSafe for SpaceAddressValue
impl Send for SpaceAddressValue
impl Sync for SpaceAddressValue
impl Unpin for SpaceAddressValue
impl UnsafeUnpin for SpaceAddressValue
impl UnwindSafe for SpaceAddressValue
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