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§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.