pub enum Architecture {
Show 32 variants
Alpha,
ARM,
ARMThumb,
ARM64,
HitachiSH3,
HitachiSH4,
HitachiSH5,
Hobbit,
Itanium,
LoongArch32,
LoongArch64,
M68k,
M88k,
MIPS,
MIPS64,
MIPSEL,
MIPSEL64,
PowerPC,
PowerPC64,
PowerPCLE,
PowerPC64LE,
RISCV,
RISCV64,
RISCV128,
Sparc,
Sparc64,
S390,
S390x,
X86,
X86_64,
Other(u32),
Unknown,
}
Expand description
CPU Architectures
Variants§
Alpha
DEC Alpha https://en.wikipedia.org/wiki/DEC_Alpha
ARM
ARMThumb
ARM64
ARM 64-bit, also known as Aarch64 https://en.wikipedia.org/wiki/ARM_architecture_family
HitachiSH3
Hitachi SH3 https://en.wikipedia.org/wiki/SuperH
HitachiSH4
Hitachi SH4 https://en.wikipedia.org/wiki/SuperH
HitachiSH5
Hitachi SH5 https://en.wikipedia.org/wiki/SuperH
Hobbit
AT&T Hobbit https://en.wikipedia.org/wiki/AT%26T_Hobbit
Itanium
Intel Itanium https://en.wikipedia.org/wiki/Itanium
LoongArch32
Loongson 32-bit https://en.wikipedia.org/wiki/Loongson
LoongArch64
Loongson 64-bit https://en.wikipedia.org/wiki/Loongson
M68k
Motorola 68000 (68k) https://en.wikipedia.org/wiki/Motorola_68000
M88k
Motorola 88000 (88k) https://en.wikipedia.org/wiki/Motorola_88000
MIPS
MIPS 32-bit Big Endian https://en.wikipedia.org/wiki/MIPS_architecture
MIPS64
MIPS 64-bit Big Endian https://en.wikipedia.org/wiki/MIPS_architecture
MIPSEL
MIPS 32-bit Little Endian https://en.wikipedia.org/wiki/MIPS_architecture
MIPSEL64
MIPS 64-bit Little Endian https://en.wikipedia.org/wiki/MIPS_architecture
PowerPC
IBM Power PC 32-bit Big Endian https://en.wikipedia.org/wiki/PowerPC
PowerPC64
IBM Power PC 64-bit Big Endian https://en.wikipedia.org/wiki/PowerPC
PowerPCLE
IBM Power PC 32-bit Little Endian https://en.wikipedia.org/wiki/PowerPC
PowerPC64LE
IBM Power PC 64-bit Little Endian https://en.wikipedia.org/wiki/PowerPC
RISCV
RISC-V 32-bit https://en.wikipedia.org/wiki/RISC-V
RISCV64
RISC-V 64-bit https://en.wikipedia.org/wiki/RISC-V
RISCV128
RISC-V 128-bit https://en.wikipedia.org/wiki/RISC-V
Sparc
Sun (now Oracle) Sparc 32-bit https://en.wikipedia.org/wiki/SPARC
Sparc64
Sun (now Oracle) Sparc 64-bit https://en.wikipedia.org/wiki/SPARC
S390
IBM s390 mainframe 32-bit https://en.wikipedia.org/wiki/IBM_System/390
S390x
IBM s390x mainframe 64-bit https://en.wikipedia.org/wiki/IBM_System/390
X86
Intel (or AMD) x86 32-bit https://en.wikipedia.org/wiki/X86-64
X86_64
Intel (or AMD) x86 64-bit https://en.wikipedia.org/wiki/X86-64
Other(u32)
Other CPU type
Unknown
Unknown CPU
Implementations§
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Architecture
impl Debug for Architecture
Source§impl Display for Architecture
impl Display for Architecture
Source§impl Hash for Architecture
impl Hash for Architecture
Source§impl PartialEq for Architecture
impl PartialEq for Architecture
impl Copy for Architecture
impl Eq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more