#[non_exhaustive]pub enum Arch {
X86_64,
X86,
Aarch64,
Arm,
Riscv64,
Powerpc64,
S390x,
Loongarch64,
Wasm32,
Other,
}Expand description
A processor architecture.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
X86_64
x86-64.
X86
32-bit x86.
Aarch64
64-bit ARM.
Arm
32-bit ARM.
Riscv64
64-bit RISC-V.
Powerpc64
64-bit PowerPC.
S390x
IBM Z.
Loongarch64
64-bit LoongArch.
Wasm32
32-bit WebAssembly.
Other
Anything else.
Implementations§
Trait Implementations§
impl Copy for Arch
impl Eq for Arch
impl StructuralPartialEq for Arch
Auto Trait Implementations§
impl Forget for Arch
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