Enum target_lexicon::Architecture [−][src]
#[non_exhaustive] pub enum Architecture {}Show 26 variants
Unknown, Arm(ArmArchitecture), AmdGcn, Aarch64(Aarch64Architecture), Asmjs, Avr, Bpfeb, Bpfel, Hexagon, X86_32(X86_32Architecture), Mips32(Mips32Architecture), Mips64(Mips64Architecture), Msp430, Nvptx64, Powerpc, Powerpc64, Powerpc64le, Riscv32(Riscv32Architecture), Riscv64(Riscv64Architecture), S390x, Sparc, Sparc64, Sparcv9, Wasm32, Wasm64, X86_64,
Expand description
The “architecture” field, which in some cases also specifies a specific subarchitecture.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of Arm
Tuple Fields of Aarch64
Tuple Fields of X86_32
Tuple Fields of Mips32
Tuple Fields of Mips64
Tuple Fields of Riscv32
Tuple Fields of Riscv64
Implementations
Return the endianness of this architecture.
Return the pointer bit width of this target’s architecture.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
Mutably borrows from an owned value. Read more