Enum target_features::Architecture
source · pub enum Architecture {
Arm,
AArch64,
Bpf,
Hexagon,
Mips,
PowerPC,
RiscV,
Wasm,
X86,
Unsupported,
}
Expand description
A target architecture.
Variants§
Arm
Arm
AArch64
AArch64
Bpf
BPF
Hexagon
Hexagon
Mips
MIPS
PowerPC
PowerPC
RiscV
RISC-V
Wasm
WASM
X86
x86 and x86-64
Unsupported
Another target, which doesn’t have features
Implementations§
Trait Implementations§
source§impl Clone for Architecture
impl Clone for Architecture
source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
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 Architecture
impl Debug for Architecture
source§impl PartialEq for Architecture
impl PartialEq for Architecture
source§fn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Architecture
impl Eq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
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