pub struct PhysicalAddr {
pub space: AddressSpace,
pub offset: AddressValue,
}Fields§
§space: AddressSpace§offset: AddressValueTrait Implementations§
Source§impl Clone for PhysicalAddr
impl Clone for PhysicalAddr
Source§fn clone(&self) -> PhysicalAddr
fn clone(&self) -> PhysicalAddr
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 PhysicalAddr
Source§impl Debug for PhysicalAddr
impl Debug for PhysicalAddr
Source§impl<'de> Deserialize<'de> for PhysicalAddr
impl<'de> Deserialize<'de> for PhysicalAddr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhysicalAddr
Source§impl Hash for PhysicalAddr
impl Hash for PhysicalAddr
Source§impl Ord for PhysicalAddr
impl Ord for PhysicalAddr
Source§fn cmp(&self, other: &PhysicalAddr) -> Ordering
fn cmp(&self, other: &PhysicalAddr) -> 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 PhysicalAddr
impl PartialEq for PhysicalAddr
Source§fn eq(&self, other: &PhysicalAddr) -> bool
fn eq(&self, other: &PhysicalAddr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhysicalAddr
impl PartialOrd for PhysicalAddr
Source§impl Serialize for PhysicalAddr
impl Serialize for PhysicalAddr
impl StructuralPartialEq for PhysicalAddr
Auto Trait Implementations§
impl Freeze for PhysicalAddr
impl RefUnwindSafe for PhysicalAddr
impl Send for PhysicalAddr
impl Sync for PhysicalAddr
impl Unpin for PhysicalAddr
impl UnsafeUnpin for PhysicalAddr
impl UnwindSafe for PhysicalAddr
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