Enum target_lexicon::Architecture[][src]

pub enum Architecture {
    Unknown,
    Aarch64,
    Arm,
    Armv4t,
    Armv5te,
    Armv7,
    Armv7s,
    Asmjs,
    I386,
    I586,
    I686,
    Mips,
    Mips64,
    Mips64el,
    Mipsel,
    Msp430,
    Powerpc,
    Powerpc64,
    Powerpc64le,
    Riscv32,
    Riscv64,
    S390x,
    Sparc,
    Sparc64,
    Sparcv9,
    Thumbv6m,
    Thumbv7em,
    Thumbv7m,
    Wasm32,
    X86_64,
}

The "architecture" field, which in some cases also specifies a specific subarchitecture.

Variants

Methods

impl Architecture
[src]

Return the architecture for the current host.

impl Architecture
[src]

Return the endianness of this architecture.

Return the pointer bit width of this target's architecture.

Trait Implementations

impl Copy for Architecture
[src]

impl Clone for Architecture
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Architecture
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Architecture
[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 Architecture
[src]

impl Hash for Architecture
[src]

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

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

impl Display for Architecture
[src]

Formats the value using the given formatter. Read more

impl FromStr for Architecture
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Default for Architecture
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations