Enum target_spec_json::TargetArch
source · #[non_exhaustive]pub enum TargetArch {
Show 30 variants
aarch64,
amdgpu,
arm,
asmjs,
avr,
bpf,
csky,
hexagon,
loongarch64,
m68k,
mips,
mips32r6,
mips64,
mips64r6,
msp430,
nvptx,
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
asmjs
avr
bpf
csky
hexagon
loongarch64
m68k
mips
mips32r6
mips64
mips64r6
msp430
nvptx
nvptx64
powerpc
powerpc64
riscv32
riscv64
s390x
sparc
sparc64
spirv
wasm32
wasm64
x86
x86_64
xtensa
Implementations§
Trait Implementations§
source§impl Clone for TargetArch
impl Clone for TargetArch
source§fn clone(&self) -> TargetArch
fn clone(&self) -> TargetArch
Returns a copy 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 TargetArch
impl Debug for TargetArch
source§impl<'de> Deserialize<'de> for TargetArch
impl<'de> Deserialize<'de> for TargetArch
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
source§impl Display for TargetArch
impl Display for TargetArch
source§impl PartialEq<TargetArch> for TargetArch
impl PartialEq<TargetArch> for TargetArch
source§fn eq(&self, other: &TargetArch) -> bool
fn eq(&self, other: &TargetArch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TargetArch
impl Serialize for TargetArch
impl Copy for TargetArch
impl Eq for TargetArch
impl StructuralEq for TargetArch
impl StructuralPartialEq for TargetArch
Auto Trait Implementations§
impl RefUnwindSafe for TargetArch
impl Send for TargetArch
impl Sync for TargetArch
impl Unpin for TargetArch
impl UnwindSafe for TargetArch
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