Struct wasmer_compiler::Triple 
source · [−]pub struct Triple {
    pub architecture: Architecture,
    pub vendor: Vendor,
    pub operating_system: OperatingSystem,
    pub environment: Environment,
    pub binary_format: BinaryFormat,
}Expand description
A target “triple”. Historically such things had three fields, though they’ve added additional fields over time.
Note that Triple doesn’t implement Default itself. If you want a type
which defaults to the host triple, or defaults to unknown-unknown-unknown,
use DefaultToHost or DefaultToUnknown, respectively.
Fields
architecture: ArchitectureThe “architecture” (and sometimes the subarchitecture).
vendor: VendorThe “vendor” (whatever that means).
operating_system: OperatingSystemThe “operating system” (sometimes also the environment).
environment: EnvironmentThe “environment” on top of the operating system (often omitted for operating systems with a single predominant environment).
binary_format: BinaryFormatThe “binary format” (rarely used).
Implementations
Return the endianness of this target’s architecture.
Return the pointer width of this target’s architecture.
Return the default calling convention for the given target triple.
The C data model for a given target. If the model is not known, returns Err(()).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Triple
impl UnwindSafe for Triple
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
    &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
    &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
    W: DeserializeWith<F, T, D>,
    D: Fallible + ?Sized,
    F: ?Sized, 
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
    W: DeserializeWith<F, T, D>,
    D: Fallible + ?Sized,
    F: ?Sized, 
Compare self to key and return true if they are equal.