[][src]Enum object::AddressSize

#[repr(u8)]pub enum AddressSize {
    U32,
    U64,
}

The size of an address value for an architecture.

This may differ from the address size supported by the file format (such as for COFF).

Variants

U32
U64

Implementations

impl AddressSize[src]

pub fn bytes(self) -> u8[src]

The size in bytes of an address value.

Trait Implementations

impl Clone for AddressSize[src]

impl Copy for AddressSize[src]

impl Debug for AddressSize[src]

impl Eq for AddressSize[src]

impl Hash for AddressSize[src]

impl PartialEq<AddressSize> for AddressSize[src]

impl StructuralEq for AddressSize[src]

impl StructuralPartialEq for AddressSize[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.