pub enum Arch {
Unknown = 0,
X86 = 1,
X64 = 2,
RISCV32 = 3,
RISCV64 = 4,
AArch64 = 6,
Max = 7,
}Expand description
Instruction set architecture (ISA).
Variants§
Unknown = 0
Unknown or uninitialized ISA.
X86 = 1
32-bit X86 ISA.
X64 = 2
64-bit X86 ISA alsonown as X64, X86_64, and AMD64.
RISCV32 = 3
32-bit RISC-V ISA.
RISCV64 = 4
64-bit RISC-V ISA.
AArch64 = 6
64-bit AArch64 ISA.
Max = 7
Implementations§
Trait Implementations§
impl Copy for Arch
impl Eq for Arch
Source§impl Ord for Arch
impl Ord for Arch
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Arch
impl PartialOrd 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 UnsafeUnpin 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