Struct dpdk_unix::memory_information::PhysicalAddress [−][src]
pub struct PhysicalAddress(_);
Physical Address.
Methods
impl PhysicalAddress[src]
impl PhysicalAddresspub fn offset_from_start_of_page(self) -> u64[src]
pub fn offset_from_start_of_page(self) -> u64Relative offset from the start of the system page containing this physical address.
May be zero, but will always be less than the system page size.
pub fn first_address_in_page(self) -> Self[src]
pub fn first_address_in_page(self) -> SelfThe address of the page which contains this physical address. May be the same value.
Trait Implementations
impl Default for PhysicalAddress[src]
impl Default for PhysicalAddressfn default() -> PhysicalAddress[src]
fn default() -> PhysicalAddressReturns the "default value" for a type. Read more
impl Debug for PhysicalAddress[src]
impl Debug for PhysicalAddressfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for PhysicalAddress[src]
impl Copy for PhysicalAddressimpl Clone for PhysicalAddress[src]
impl Clone for PhysicalAddressfn clone(&self) -> PhysicalAddress[src]
fn clone(&self) -> PhysicalAddressReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Ord for PhysicalAddress[src]
impl Ord for PhysicalAddressfn cmp(&self, other: &PhysicalAddress) -> Ordering[src]
fn cmp(&self, other: &PhysicalAddress) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd for PhysicalAddress[src]
impl PartialOrd for PhysicalAddressfn partial_cmp(&self, other: &PhysicalAddress) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &PhysicalAddress) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &PhysicalAddress) -> bool[src]
fn lt(&self, other: &PhysicalAddress) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &PhysicalAddress) -> bool[src]
fn le(&self, other: &PhysicalAddress) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &PhysicalAddress) -> bool[src]
fn gt(&self, other: &PhysicalAddress) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &PhysicalAddress) -> bool[src]
fn ge(&self, other: &PhysicalAddress) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Eq for PhysicalAddress[src]
impl Eq for PhysicalAddressimpl PartialEq for PhysicalAddress[src]
impl PartialEq for PhysicalAddressfn eq(&self, other: &PhysicalAddress) -> bool[src]
fn eq(&self, other: &PhysicalAddress) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PhysicalAddress) -> bool[src]
fn ne(&self, other: &PhysicalAddress) -> boolThis method tests for !=.
impl Hash for PhysicalAddress[src]
impl Hash for PhysicalAddressfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Into<u64> for PhysicalAddress[src]
impl Into<u64> for PhysicalAddressimpl Add<u64> for PhysicalAddress[src]
impl Add<u64> for PhysicalAddresstype Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: u64) -> Self::Output[src]
fn add(self, rhs: u64) -> Self::OutputPerforms the + operation.
impl AddAssign<u64> for PhysicalAddress[src]
impl AddAssign<u64> for PhysicalAddressfn add_assign(&mut self, rhs: u64)[src]
fn add_assign(&mut self, rhs: u64)Performs the += operation.
impl Add<usize> for PhysicalAddress[src]
impl Add<usize> for PhysicalAddresstype Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: usize) -> Self::Output[src]
fn add(self, rhs: usize) -> Self::OutputPerforms the + operation.
impl AddAssign<usize> for PhysicalAddress[src]
impl AddAssign<usize> for PhysicalAddressfn add_assign(&mut self, rhs: usize)[src]
fn add_assign(&mut self, rhs: usize)Performs the += operation.
impl Into<PhysicalAddress> for PhysicalPageFrameNumber[src]
impl Into<PhysicalAddress> for PhysicalPageFrameNumberfn into(self) -> PhysicalAddress[src]
fn into(self) -> PhysicalAddressPerforms the conversion.
Auto Trait Implementations
impl Send for PhysicalAddress
impl Send for PhysicalAddressimpl Sync for PhysicalAddress
impl Sync for PhysicalAddress