Trait vm_memory::address::AddressValue

source ·
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>;

    // Provided methods
    fn zero() -> Self::V { ... }
    fn one() -> Self::V { ... }
}
Expand description

Simple helper trait used to store a raw address value.

Required Associated Types§

source

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>

Type of the raw address value.

Provided Methods§

source

fn zero() -> Self::V

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

source

fn one() -> Self::V

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

Object Safety§

This trait is not object safe.

Implementors§