Struct wasmer_pack::Module
source · pub struct Module {
pub name: String,
pub abi: Abi,
pub wasm: Vec<u8>,
}
Expand description
A WebAssembly module.
Fields§
§name: String
A name used to refer to this module (e.g. wasmer_pack_wasm
).
abi: Abi
The ABI used by the module.
wasm: Vec<u8>
The WebAssembly code, itself.
Implementations§
Trait Implementations§
source§impl PartialEq<Module> for Module
impl PartialEq<Module> for Module
impl Eq for Module
impl StructuralEq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations§
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.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.