pub enum Arch {
Show 18 variants
AARCH64,
ARM,
ASMJS,
MIPS,
MIPS64,
MSP430,
POWERPC,
POWERPC64,
RISCV,
S390X,
SPARC,
SPARC64,
THUMBV6,
THUMBV7,
WASM32,
X86,
X86_64,
Unknown,
}
Expand description
target_arch
: Target CPU architecture
Variants§
AARCH64
aarch64
: ARMv8 64-bit architecture
ARM
arm
: 32-bit ARM architecture
ASMJS
asm
: asm.js output
MIPS
mips
: 32-bit MIPS CPU architecture
MIPS64
mips64
: 32-bit MIPS CPU architecture
MSP430
msp430
: 16-bit MSP430 microcontrollers
POWERPC
powerpc
: 32-bit POWERPC platform
POWERPC64
powerpc64
: 64-bit POWERPC platform
RISCV
riscv
: RISC-V CPU architecture
S390X
s390x
: 64-bit IBM z/Architecture
SPARC
sparc
: 32-bit SPARC CPU architecture
SPARC64
sparc64
: 64-bit SPARC CPU architecture
THUMBV6
thumbv6
: 16-bit ARM CPU architecture subset
THUMBV7
thumbv7
: 16-bit ARM CPU architecture subset
WASM32
wasm32
: Web Assembly (32-bit)
X86
x86
: Generic x86 CPU architecture
X86_64
x86_64
: “AMD64” CPU architecture
Unknown
Unknown CPU architecture
Implementations§
Trait Implementations§
Source§impl Ord for Arch
impl Ord for Arch
Source§impl PartialOrd for Arch
impl PartialOrd for Arch
impl Copy for Arch
impl Eq for Arch
impl StructuralPartialEq for Arch
Auto Trait Implementations§
impl Freeze for Arch
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)