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 arm64ec: 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 = _
pub const xtensa: Arch = _
Trait Implementations§
Source§impl Ord for Arch
impl Ord for Arch
Source§impl PartialOrd for Arch
impl PartialOrd 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 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