Struct wasmer_types::compilation::target::Target
source · pub struct Target { /* private fields */ }
Expand description
This is the target that we will use for compiling the WebAssembly ModuleInfo, and then run it.
Implementations§
source§impl Target
impl Target
sourcepub fn new(triple: Triple, cpu_features: EnumSet<CpuFeature>) -> Self
pub fn new(triple: Triple, cpu_features: EnumSet<CpuFeature>) -> Self
Creates a new target given a triple
sourcepub fn cpu_features(&self) -> &EnumSet<CpuFeature>
pub fn cpu_features(&self) -> &EnumSet<CpuFeature>
The triple associated for the target.
Trait Implementations§
source§impl PartialEq<Target> for Target
impl PartialEq<Target> for Target
impl Eq for Target
impl StructuralEq for Target
impl StructuralPartialEq for Target
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§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.