[−][src]Struct sunrise_bootstrap::address::PhysicalAddress
Represents a Physical address
Should only be used when paging is off
Implementations
impl PhysicalAddress
[src]
impl PhysicalAddress
[src]
pub fn floor(self) -> PhysicalAddress
[src]
Rounds down to PAGE_SIZE.
pub fn ceil(self) -> PhysicalAddress
[src]
Rounds up PAGE_SIZE.
Trait Implementations
impl Add<PhysicalAddress> for usize
[src]
type Output = PhysicalAddress
The resulting type after applying the +
operator.
fn add(self, other: PhysicalAddress) -> PhysicalAddress
[src]
Adding a length to an address gives another address
impl Add<usize> for PhysicalAddress
[src]
type Output = PhysicalAddress
The resulting type after applying the +
operator.
fn add(self, other: usize) -> PhysicalAddress
[src]
Adding a length to an address gives another address
impl AddAssign<usize> for PhysicalAddress
[src]
fn add_assign(&mut self, rhs: usize)
[src]
Adding a length to an address gives another address
impl Clone for PhysicalAddress
[src]
fn clone(&self) -> PhysicalAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PhysicalAddress
[src]
impl Debug for PhysicalAddress
[src]
impl Display for PhysicalAddress
[src]
impl Eq for PhysicalAddress
[src]
impl Hash for PhysicalAddress
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for PhysicalAddress
[src]
impl Ord for PhysicalAddress
[src]
fn cmp(&self, other: &PhysicalAddress) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PhysicalAddress> for PhysicalAddress
[src]
fn eq(&self, other: &PhysicalAddress) -> bool
[src]
fn ne(&self, other: &PhysicalAddress) -> bool
[src]
impl PartialOrd<PhysicalAddress> for PhysicalAddress
[src]
fn partial_cmp(&self, other: &PhysicalAddress) -> Option<Ordering>
[src]
fn lt(&self, other: &PhysicalAddress) -> bool
[src]
fn le(&self, other: &PhysicalAddress) -> bool
[src]
fn gt(&self, other: &PhysicalAddress) -> bool
[src]
fn ge(&self, other: &PhysicalAddress) -> bool
[src]
impl StructuralEq for PhysicalAddress
[src]
impl StructuralPartialEq for PhysicalAddress
[src]
impl Sub<PhysicalAddress> for PhysicalAddress
[src]
type Output = usize
The resulting type after applying the -
operator.
fn sub(self, rhs: PhysicalAddress) -> usize
[src]
Subtracting two address gives their distance
impl Sub<usize> for PhysicalAddress
[src]
type Output = PhysicalAddress
The resulting type after applying the -
operator.
fn sub(self, other: usize) -> PhysicalAddress
[src]
Subtracting a length from an address gives another address
impl SubAssign<usize> for PhysicalAddress
[src]
fn sub_assign(&mut self, rhs: usize)
[src]
Subtracting a length from an address gives another address
Auto Trait Implementations
impl RefUnwindSafe for PhysicalAddress
impl Send for PhysicalAddress
impl Sync for PhysicalAddress
impl Unpin for PhysicalAddress
impl UnwindSafe for PhysicalAddress
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,