Struct parity_wasm::ModuleInstance [] [src]

pub struct ModuleInstance<E: UserError> { /* fields omitted */ }

Module instance.

Methods

impl<E> ModuleInstance<E> where
    E: UserError
[src]

Instantiate given module within program context.

Run instantiation-time procedures (validation). Module is not completely validated until this call.

Run start function [if any].

Trait Implementations

impl<E> ModuleInstanceInterface<E> for ModuleInstance<E> where
    E: UserError
[src]

Execute function with the given index.

Execute function with the given export name.

Get export entry.

Get table reference.

Get memory reference.

Get global reference.

Get function type for given function index.

Get function type for given function index.

Get function reference.

Get function indirect reference.

Get internal function for interpretation.

Call function with given internal index.