Enum build_target::Arch
source · [−]#[non_exhaustive]
pub enum Arch<'a> {
}
Expand description
Target CPU architecture
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AARCH64
aarch64
: ARMv8 64-bit architecture
ARM
arm
: 32-bit ARM architecture
ASMJS
asm
: asm.js output
MIPS
mips
: 32-bit MIPS CPU architecture
MIPS64
mips64
: 32-bit MIPS CPU architecture
MSP430
msp430
: 16-bit MSP430 microcontrollers
POWERPC
powerpc
: 32-bit POWERPC platform
POWERPC64
powerpc64
: 64-bit POWERPC platform
RISCV
riscv
: RISC-V CPU architecture
S390X
s390x
: 64-bit IBM z/Architecture
SPARC
sparc
: 32-bit SPARC CPU architecture
SPARC64
sparc64
: 64-bit SPARC CPU architecture
THUMBV6
thumbv6
: 16-bit ARM CPU architecture subset
THUMBV7
thumbv7
: 16-bit ARM CPU architecture subset
WASM32
wasm32
: Web Assembly (32-bit)
X86
x86
: Generic x86 CPU architecture
X86_64
x86_64
: “AMD64” CPU architecture
Other(Cow<'a, str>)
Unknown CPU architecture
Implementations
Trait Implementations
sourceimpl<'a> Ord for Arch<'a>
impl<'a> Ord for Arch<'a>
sourceimpl<'a> PartialOrd<Arch<'a>> for Arch<'a>
impl<'a> PartialOrd<Arch<'a>> for Arch<'a>
sourcefn partial_cmp(&self, other: &Arch<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Arch<'a>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a> Eq for Arch<'a>
impl<'a> StructuralEq for Arch<'a>
impl<'a> StructuralPartialEq for Arch<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Arch<'a>
impl<'a> Send for Arch<'a>
impl<'a> Sync for Arch<'a>
impl<'a> Unpin for Arch<'a>
impl<'a> UnwindSafe for Arch<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more