pub struct Arch(pub Cow<'static, str>);
Expand description
The “architecture” field
Tuple Fields§
§0: Cow<'static, str>
Implementations§
source§impl Arch
impl Arch
pub const aarch64: Arch = _
pub const arm: Arch = _
pub const avr: Arch = _
pub const bpf: Arch = _
pub const csky: Arch = _
pub const hexagon: Arch = _
pub const loongarch64: Arch = _
pub const m68k: Arch = _
pub const mips: Arch = _
pub const mips32r6: Arch = _
pub const mips64: Arch = _
pub const mips64r6: Arch = _
pub const msp430: Arch = _
pub const nvptx64: Arch = _
pub const powerpc: Arch = _
pub const powerpc64: Arch = _
pub const riscv32: Arch = _
pub const riscv64: Arch = _
pub const s390x: Arch = _
pub const sparc: Arch = _
pub const sparc64: Arch = _
pub const wasm32: Arch = _
pub const wasm64: Arch = _
pub const x86: Arch = _
pub const x86_64: Arch = _
Trait Implementations§
source§impl Ord for Arch
impl Ord for Arch
source§impl PartialEq for Arch
impl PartialEq for Arch
source§impl PartialOrd for Arch
impl PartialOrd for Arch
1.0.0 · source§fn 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 moreimpl 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 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