Enum object::AddressSize[][src]

#[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

impl Send for AddressSize

impl Sync for AddressSize

impl Unpin for AddressSize

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<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.