pub struct ModuleEnvironment<'a, 'data> { /* private fields */ }
Expand description

Object containing the standalone environment information.

Implementations

Allocates the environment data structures.

Translate a wasm module using this environment.

This function will translate the data provided with parser, validating everything along the way with this environment’s validator.

The result of translation, ModuleTranslation, contains everything necessary to compile functions afterwards as well as learn type information about the module at runtime.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.