#[repr(C)]pub enum Arch {
ARM = 1,
ARM64 = 2,
MIPS = 3,
X86 = 4,
PPC = 5,
SPARC = 6,
SYSTEMZ = 7,
HEXAGON = 8,
EVM = 9,
MAX = 10,
}
Expand description
Architecture type.
Variants§
ARM = 1
ARM architecture (including Thumb, Thumb-2).
ARM64 = 2
ARM-64, also called AArch64.
MIPS = 3
Mips architecture.
X86 = 4
X86 architecture (including x86 & x86-64).
PPC = 5
PowerPC architecture (currently unsupported).
SPARC = 6
Sparc architecture.
SYSTEMZ = 7
SystemZ architecture (S390X).
HEXAGON = 8
Hexagon architecture.
EVM = 9
Ethereum Virtual Machine architecture.
MAX = 10
Maximum value for the architecture enum.
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