Enum target_lexicon::PointerWidth[][src]

pub enum PointerWidth {
    U16,
    U32,
    U64,
}

The width of a pointer (in the default address space).

Variants

Methods

impl PointerWidth
[src]

Return the number of bits in a pointer.

Return the number of bytes in a pointer.

For these purposes, there are 8 bits in a byte.

Trait Implementations

impl Copy for PointerWidth
[src]

impl Clone for PointerWidth
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PointerWidth
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PointerWidth
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PointerWidth
[src]

impl Hash for PointerWidth
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations