[−][src]Struct sunrise_bootstrap::address::VirtualAddress
Represents a Virtual address
Implementations
impl VirtualAddress
[src]
impl VirtualAddress
[src]
pub fn floor(self) -> VirtualAddress
[src]
Rounds down to PAGE_SIZE.
pub fn ceil(self) -> VirtualAddress
[src]
Rounds up PAGE_SIZE.
Trait Implementations
impl Add<VirtualAddress> for usize
[src]
type Output = VirtualAddress
The resulting type after applying the +
operator.
fn add(self, other: VirtualAddress) -> VirtualAddress
[src]
Adding a length to an address gives another address
impl Add<usize> for VirtualAddress
[src]
type Output = VirtualAddress
The resulting type after applying the +
operator.
fn add(self, other: usize) -> VirtualAddress
[src]
Adding a length to an address gives another address
impl AddAssign<usize> for VirtualAddress
[src]
fn add_assign(&mut self, rhs: usize)
[src]
Adding a length to an address gives another address
impl Clone for VirtualAddress
[src]
fn clone(&self) -> VirtualAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VirtualAddress
[src]
impl Debug for VirtualAddress
[src]
impl Display for VirtualAddress
[src]
impl Eq for VirtualAddress
[src]
impl Hash for VirtualAddress
[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 VirtualAddress
[src]
impl Ord for VirtualAddress
[src]
fn cmp(&self, other: &VirtualAddress) -> 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<VirtualAddress> for VirtualAddress
[src]
fn eq(&self, other: &VirtualAddress) -> bool
[src]
fn ne(&self, other: &VirtualAddress) -> bool
[src]
impl PartialOrd<VirtualAddress> for VirtualAddress
[src]
fn partial_cmp(&self, other: &VirtualAddress) -> Option<Ordering>
[src]
fn lt(&self, other: &VirtualAddress) -> bool
[src]
fn le(&self, other: &VirtualAddress) -> bool
[src]
fn gt(&self, other: &VirtualAddress) -> bool
[src]
fn ge(&self, other: &VirtualAddress) -> bool
[src]
impl StructuralEq for VirtualAddress
[src]
impl StructuralPartialEq for VirtualAddress
[src]
impl Sub<VirtualAddress> for VirtualAddress
[src]
type Output = usize
The resulting type after applying the -
operator.
fn sub(self, rhs: VirtualAddress) -> usize
[src]
Subtracting two address gives their distance
impl Sub<usize> for VirtualAddress
[src]
type Output = VirtualAddress
The resulting type after applying the -
operator.
fn sub(self, other: usize) -> VirtualAddress
[src]
Subtracting a length from an address gives another address
impl SubAssign<usize> for VirtualAddress
[src]
fn sub_assign(&mut self, rhs: usize)
[src]
Subtracting a length from an address gives another address
Auto Trait Implementations
impl RefUnwindSafe for VirtualAddress
impl Send for VirtualAddress
impl Sync for VirtualAddress
impl Unpin for VirtualAddress
impl UnwindSafe for VirtualAddress
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>,