[−][src]Struct flp_framework::address::AddrAddr
A generic address that points to a memory location containing an address.
Trait Implementations
impl Address for AddrAddr
[src]
fn from_usize(val: usize) -> AddrAddr
[src]
Construct an address of this type from a raw usize
value.
fn as_usize(&self) -> usize
[src]
Deconstruct this address into a raw usize
value.
fn verify(self) -> bool
[src]
Default verification of proper address alignment.
fn plus<A: Address>(&self, bytes: usize) -> A
[src]
fn sub<A: Address>(&self, bytes: usize) -> A
[src]
fn offset<T, A: Address>(&self, offset: usize) -> A
[src]
fn load<T: Copy>(&self) -> T
[src]
fn store<T>(&self, value: T)
[src]
fn is_zero(&self) -> bool
[src]
fn align_up<A: Address>(&self, align: usize) -> A
[src]
fn gte<A: Address>(&self, addr: A) -> bool
[src]
fn greater<A: Address>(&self, addr: A) -> bool
[src]
fn lte<A: Address>(&self, addr: A) -> bool
[src]
fn less<A: Address>(&self, addr: A) -> bool
[src]
fn is_aligned_to(&self, align: usize) -> bool
[src]
fn from_ptr<T>(ptr: *const T) -> Self
[src]
fn to_ptr<T>(&self) -> *const T
[src]
fn to_ptr_mut<T>(&self) -> *mut T
[src]
fn zero() -> Self
[src]
fn diff<A: Address>(&self, another: A) -> usize
[src]
fn memset(&self, val: u8, length: usize)
[src]
impl Clone for AddrAddr
[src]
impl Copy for AddrAddr
[src]
impl Debug for AddrAddr
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Display this address as a prettified alphanumeric hex string for debugging.
impl Display for AddrAddr
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Display this address as a prettified alphanumeric hex string.
impl Eq for AddrAddr
[src]
impl Hash for AddrAddr
[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 Ord for AddrAddr
[src]
fn cmp(&self, other: &AddrAddr) -> Ordering
[src]
Address ordinality delegates to usize ordinality.
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AddrAddr> for AddrAddr
[src]
fn eq(&self, other: &AddrAddr) -> bool
[src]
Address equality delegates to usize
equality
fn ne(&self, other: &AddrAddr) -> bool
[src]
Address inequality delegates to usize
equality
impl PartialOrd<AddrAddr> for AddrAddr
[src]
fn partial_cmp(&self, other: &AddrAddr) -> Option<Ordering>
[src]
Address ordinality delegates to usize ordinality.
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Pointer for AddrAddr
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Display this address as a prettified alphanumeric hex string.
impl StructuralEq for AddrAddr
[src]
impl UpperHex for AddrAddr
[src]
Auto Trait Implementations
impl RefUnwindSafe for AddrAddr
impl Send for AddrAddr
impl Sync for AddrAddr
impl Unpin for AddrAddr
impl UnwindSafe for AddrAddr
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>,