[−][src]Enum heim_host::Arch
target_arch
: Target CPU architecture
Variants (Non-exhaustive)
aarch64
: ARMv8 64-bit architecture
arm
: 32-bit ARM architecture
asm
: asm.js output
mips
: 32-bit MIPS CPU architecture
mips64
: 32-bit MIPS CPU architecture
msp430
: 16-bit MSP430 microcontrollers
powerpc
: 32-bit POWERPC platform
powerpc64
: 64-bit POWERPC platform
riscv
: RISC-V CPU architecture
s390x
: 64-bit IBM z/Architecture
sparc
: 32-bit SPARC CPU architecture
sparc64
: 64-bit SPARC CPU architecture
thumbv6
: 16-bit ARM CPU architecture subset
thumbv7
: 16-bit ARM CPU architecture subset
wasm32
: Web Assembly (32-bit)
x86
: Generic x86 CPU architecture
x86_64
: "AMD64" CPU architecture
Unknown CPU architecture
Implementations
impl Arch
[src]
pub fn as_str(self) -> &'static str
[src]
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 Display 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.
pub 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]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Arch
[src]
pub fn cmp(&self, other: &Arch) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Arch> for Arch
[src]
pub fn eq(&self, other: &Arch) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<Arch> for Arch
[src]
pub fn partial_cmp(&self, other: &Arch) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub 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
[src]
impl Send for Arch
[src]
impl Sync for Arch
[src]
impl Unpin for Arch
[src]
impl UnwindSafe for Arch
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,