#[non_exhaustive]pub enum Arch {
Show 30 variants
aarch64,
amdgpu,
arm,
arm64ec,
avr,
bpf,
csky,
hexagon,
loongarch32,
loongarch64,
m68k,
mips,
mips32r6,
mips64,
mips64r6,
msp430,
nvptx64,
powerpc,
powerpc64,
riscv32,
riscv64,
s390x,
sparc,
sparc64,
spirv,
wasm32,
wasm64,
x86,
x86_64,
xtensa,
}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.
aarch64
amdgpu
arm
arm64ec
avr
bpf
csky
hexagon
loongarch32
loongarch64
m68k
mips
mips32r6
mips64
mips64r6
msp430
nvptx64
powerpc
powerpc64
riscv32
riscv64
s390x
sparc
sparc64
spirv
wasm32
wasm64
x86
x86_64
xtensa
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Arch
impl<'de> Deserialize<'de> for Arch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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