[−][src]Struct vm_memory::guest_memory::MemoryRegionAddress
Represents an offset inside a region.
Trait Implementations
impl Address for MemoryRegionAddress[src]
fn new(value: u64) -> MemoryRegionAddress[src]
fn raw_value(&self) -> u64[src]
fn checked_offset_from(&self, base: MemoryRegionAddress) -> Option<u64>[src]
fn checked_add(&self, other: u64) -> Option<MemoryRegionAddress>[src]
fn overflowing_add(&self, other: u64) -> (MemoryRegionAddress, bool)[src]
fn unchecked_add(&self, offset: u64) -> MemoryRegionAddress[src]
fn checked_sub(&self, other: u64) -> Option<MemoryRegionAddress>[src]
fn overflowing_sub(&self, other: u64) -> (MemoryRegionAddress, bool)[src]
fn unchecked_sub(&self, other: u64) -> MemoryRegionAddress[src]
fn mask(&self, mask: Self::V) -> Self::V[src]
fn unchecked_offset_from(&self, base: Self) -> Self::V[src]
fn checked_align_up(&self, power_of_two: Self::V) -> Option<Self>[src]
fn unchecked_align_up(&self, power_of_two: Self::V) -> Self[src]
impl AddressValue for MemoryRegionAddress[src]
impl BitAnd<u64> for MemoryRegionAddress[src]
type Output = MemoryRegionAddress
The resulting type after applying the & operator.
fn bitand(self, other: u64) -> MemoryRegionAddress[src]
impl BitOr<u64> for MemoryRegionAddress[src]
type Output = MemoryRegionAddress
The resulting type after applying the | operator.
fn bitor(self, other: u64) -> MemoryRegionAddress[src]
impl Clone for MemoryRegionAddress[src]
fn clone(&self) -> MemoryRegionAddress[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MemoryRegionAddress[src]
impl Debug for MemoryRegionAddress[src]
impl Default for MemoryRegionAddress[src]
fn default() -> MemoryRegionAddress[src]
impl Eq for MemoryRegionAddress[src]
impl Ord for MemoryRegionAddress[src]
fn cmp(&self, other: &MemoryRegionAddress) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<MemoryRegionAddress> for MemoryRegionAddress[src]
fn eq(&self, other: &MemoryRegionAddress) -> bool[src]
fn ne(&self, other: &MemoryRegionAddress) -> bool[src]
impl PartialOrd<MemoryRegionAddress> for MemoryRegionAddress[src]
fn partial_cmp(&self, other: &MemoryRegionAddress) -> Option<Ordering>[src]
fn lt(&self, other: &MemoryRegionAddress) -> bool[src]
fn le(&self, other: &MemoryRegionAddress) -> bool[src]
fn gt(&self, other: &MemoryRegionAddress) -> bool[src]
fn ge(&self, other: &MemoryRegionAddress) -> bool[src]
impl StructuralEq for MemoryRegionAddress[src]
impl StructuralPartialEq for MemoryRegionAddress[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryRegionAddress
impl Send for MemoryRegionAddress
impl Sync for MemoryRegionAddress
impl Unpin for MemoryRegionAddress
impl UnwindSafe for MemoryRegionAddress
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, 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>,