pub enum Architecture {
X86_64,
X86_32,
AArch64,
ARM32,
MIPS32,
RiscV64,
}Expand description
Supported CPU architectures.
Variants§
X86_64
x86-64 (AMD64 / Intel 64), 64-bit mode.
X86_32
x86-32 (IA-32), 32-bit protected mode.
AArch64
AArch64 (ARMv8-A, 64-bit).
ARM32
ARM32 (ARMv7 + Thumb).
MIPS32
MIPS32 (big-endian).
RiscV64
RISC-V 64-bit (RV64GC).
Implementations§
Source§impl Architecture
impl Architecture
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Architecture
impl Debug 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more