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§

source

type ExternRef: WasmExternRef<Self>

The external reference type.

source

type Func: WasmFunc<Self>

The function type.

source

type Global: WasmGlobal<Self>

The global type.

source

type Instance: WasmInstance<Self>

The instance type.

source

type Memory: WasmMemory<Self>

The memory type.

source

type Module: WasmModule<Self>

The module type.

source

type Store<T>: WasmStore<T, Self>

The store type.

source

type StoreContext<'a, T: 'a>: WasmStoreContext<'a, T, Self>

The store context type.

source

type StoreContextMut<'a, T: 'a>: WasmStoreContextMut<'a, T, Self>

The mutable store context type.

source

type Table: WasmTable<Self>

The table type.

Object Safety§

This trait is not object safe.

Implementors§