pub enum Arch {
X86,
X86_64,
Arm,
Aarch64,
Riscv32,
Riscv64,
Wasm32,
Wasm64,
Unknown,
}Expand description
The CPU architecture of a target.
Variants§
X86
X86_64
Arm
Aarch64
Riscv32
Riscv64
Wasm32
Wasm64
Unknown
Any architecture we don’t model individually (target-lexicon may know
it, but Gruel hasn’t classified it).
Trait Implementations§
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 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