[−][src]Enum heim::host::Arch
feature="host"
only.target_arch
: Target CPU architecture
Variants
feature="host"
only.aarch64
: ARMv8 64-bit architecture
feature="host"
only.arm
: 32-bit ARM architecture
feature="host"
only.asm
: asm.js output
feature="host"
only.mips
: 32-bit MIPS CPU architecture
feature="host"
only.mips64
: 32-bit MIPS CPU architecture
feature="host"
only.msp430
: 16-bit MSP430 microcontrollers
feature="host"
only.powerpc
: 32-bit POWERPC platform
feature="host"
only.powerpc64
: 64-bit POWERPC platform
feature="host"
only.riscv
: RISC-V CPU architecture
feature="host"
only.s390x
: 64-bit IBM z/Architecture
feature="host"
only.sparc
: 32-bit SPARC CPU architecture
feature="host"
only.sparc64
: 64-bit SPARC CPU architecture
feature="host"
only.thumbv6
: 16-bit ARM CPU architecture subset
feature="host"
only.thumbv7
: 16-bit ARM CPU architecture subset
feature="host"
only.wasm32
: Web Assembly (32-bit)
feature="host"
only.x86
: Generic x86 CPU architecture
feature="host"
only.x86_64
: "AMD64" CPU architecture
feature="host"
only.Unknown CPU architecture
Implementations
impl Arch
[src]
pub fn as_str(self) -> &'static str
[src]
feature="host"
only.String representing this target architecture which matches cfg(target_arch)
Trait Implementations
impl Clone for Arch
[src]
impl Copy for Arch
[src]
impl Debug for Arch
[src]
impl Eq for Arch
[src]
impl FromStr for Arch
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(arch_name: &str) -> Result<Arch, <Arch as FromStr>::Err>
[src]
Create a new Arch
from the given string
impl Hash for Arch
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Arch
[src]
fn cmp(&self, other: &Arch) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Arch> for Arch
[src]
impl PartialOrd<Arch> for Arch
[src]
fn partial_cmp(&self, other: &Arch) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Arch
[src]
impl StructuralPartialEq for Arch
[src]
Auto Trait Implementations
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,