Trait wasm_runtime_layer::backend::WasmEngine
source · pub trait WasmEngine: 'static + Clone + Sized + Send + Sync {
type ExternRef: WasmExternRef<Self>;
type Func: WasmFunc<Self>;
type Global: WasmGlobal<Self>;
type Instance: WasmInstance<Self>;
type Memory: WasmMemory<Self>;
type Module: WasmModule<Self>;
type Store<T>: WasmStore<T, Self>;
type StoreContext<'a, T: 'a>: WasmStoreContext<'a, T, Self>;
type StoreContextMut<'a, T: 'a>: WasmStoreContextMut<'a, T, Self>;
type Table: WasmTable<Self>;
}
Expand description
Provides a backing implementation for a WebAssembly runtime.
Required Associated Types§
sourcetype ExternRef: WasmExternRef<Self>
type ExternRef: WasmExternRef<Self>
The external reference type.
sourcetype Global: WasmGlobal<Self>
type Global: WasmGlobal<Self>
The global type.
sourcetype Instance: WasmInstance<Self>
type Instance: WasmInstance<Self>
The instance type.
sourcetype Memory: WasmMemory<Self>
type Memory: WasmMemory<Self>
The memory type.
sourcetype Module: WasmModule<Self>
type Module: WasmModule<Self>
The module type.
sourcetype StoreContext<'a, T: 'a>: WasmStoreContext<'a, T, Self>
type StoreContext<'a, T: 'a>: WasmStoreContext<'a, T, Self>
The store context type.
sourcetype StoreContextMut<'a, T: 'a>: WasmStoreContextMut<'a, T, Self>
type StoreContextMut<'a, T: 'a>: WasmStoreContextMut<'a, T, Self>
The mutable store context type.
Object Safety§
This trait is not object safe.