[][src]Struct wasmer::Target

pub struct Target { /* fields omitted */ }

This is the target that we will use for compiling the WebAssembly ModuleInfo, and then run it.

Implementations

impl Target[src]

pub fn new(triple: Triple, cpu_features: EnumSet<CpuFeature>) -> Target[src]

Creates a new target given a triple

pub fn triple(&self) -> &Triple[src]

The triple associated for the target.

pub fn cpu_features(&self) -> &EnumSet<CpuFeature>[src]

The triple associated for the target.

Trait Implementations

impl Clone for Target[src]

impl Debug for Target[src]

impl Default for Target[src]

The default for the Target will use the HOST as the triple

impl Eq for Target[src]

impl Hash for Target[src]

impl PartialEq<Target> for Target[src]

Auto Trait Implementations

impl RefUnwindSafe for Target

impl Send for Target

impl Sync for Target

impl Unpin for Target

impl UnwindSafe for Target

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,