Trait vm_memory::address::AddressValue[][src]

pub trait AddressValue {
    type V: Copy + PartialEq + Eq + PartialOrd + Ord + Not<Output = Self::V> + Add<Output = Self::V> + Sub<Output = Self::V> + BitAnd<Output = Self::V> + BitOr<Output = Self::V> + Debug + From<u8>;
    fn zero() -> Self::V { ... }
fn one() -> Self::V { ... } }

Simple helper trait used to store a raw address value.

Associated Types

type V: Copy + PartialEq + Eq + PartialOrd + Ord + Not<Output = Self::V> + Add<Output = Self::V> + Sub<Output = Self::V> + BitAnd<Output = Self::V> + BitOr<Output = Self::V> + Debug + From<u8>[src]

Type of the raw address value.

Loading content...

Provided methods

fn zero() -> Self::V[src]

Return the value zero, coerced into the value type Self::V

fn one() -> Self::V[src]

Return the value zero, coerced into the value type Self::V

Loading content...

Implementors

impl AddressValue for GuestAddress[src]

type V = u64

impl AddressValue for MemoryRegionAddress[src]

type V = u64

Loading content...