[−][src]Struct wasmer_compiler::Triple
A target "triple". Historically such things had three fields, though they've added additional fields over time.
Fields
architecture: Architecture
The "architecture" (and sometimes the subarchitecture).
vendor: Vendor
The "vendor" (whatever that means).
operating_system: OperatingSystem
The "operating system" (sometimes also the environment).
environment: Environment
The "environment" on top of the operating system (often omitted for operating systems with a single predominant environment).
binary_format: BinaryFormat
The "binary format" (rarely used).
Implementations
impl Triple
[src]
pub fn endianness(&self) -> Result<Endianness, ()>
[src]
Return the endianness of this target's architecture.
pub fn pointer_width(&self) -> Result<PointerWidth, ()>
[src]
Return the pointer width of this target's architecture.
pub fn default_calling_convention(&self) -> Result<CallingConvention, ()>
[src]
Return the default calling convention for the given target triple.
impl Triple
[src]
Trait Implementations
impl Clone for Triple
[src]
impl Debug for Triple
[src]
impl Default for Triple
[src]
impl Display for Triple
[src]
impl Eq for Triple
[src]
impl FromStr for Triple
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Triple, <Triple as FromStr>::Err>
[src]
impl Hash for Triple
[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 PartialEq<Triple> for Triple
[src]
impl StructuralEq for Triple
[src]
impl StructuralPartialEq for Triple
[src]
Auto Trait Implementations
impl RefUnwindSafe for Triple
impl Send for Triple
impl Sync for Triple
impl Unpin for Triple
impl UnwindSafe for Triple
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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> 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> 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.
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>,