Enum platforms::target::Arch[][src]

pub enum Arch {
    AARCH64,
    ARM,
    ASMJS,
    MIPS,
    MIPS64,
    MSP430,
    POWERPC,
    POWERPC64,
    RISCV,
    S390X,
    SPARC64,
    WASM32,
    X86,
    X86_64,
    Unknown,
}

target_arch: Target CPU architecture

Variants

aarch64: ARMv8 64-bit architecture

arm: 32-bit ARM architecture

asm: asm.js output

mips: 32-bit MIPS CPU architecture

mips64: 32-bit MIPS CPU architecture

msp430: 16-bit MSP430 microcontrollers

powerpc: 32-bit POWERPC platform

powerpc64: 64-bit POWERPC platform

riscv: RISC-V CPU architecture

s390x: 64-bit IBM z/Architecture

sparc64: 64-bit SPARC CPU architecture

wasm32: Web Assembly (32-bit)

x86: Generic x86 architecture

x86_64: "AMD64" architecture

Unknown CPU architecture

Methods

impl Arch
[src]

String representing this target architecture which matches cfg(target_arch)

Trait Implementations

impl Copy for Arch
[src]

impl Clone for Arch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Arch
[src]

Formats the value using the given formatter. Read more

impl Eq for Arch
[src]

impl Hash for Arch
[src]

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

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

impl PartialEq for Arch
[src]

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

This method tests for !=.

impl PartialOrd for Arch
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Arch
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl FromStr for Arch
[src]

The associated error which can be returned from parsing.

Create a new Arch from the given string

Auto Trait Implementations

impl Send for Arch

impl Sync for Arch