Struct lunatic::Module[][src]

pub struct Module { /* fields omitted */ }
Expand description

A compiled instance of a WebAssembly module.

Modules belong to Environments and processes spawned from the modules will have characteristics defined by the Environment.

Creating a module will also JIT compile it, this can be a compute intensive tasks.

Implementations

Spawn a new process and use function as the entry point. If the function takes arguments the passed in params need to exactly match their types.

Spawn a new process and link it to the current one.

Trait Implementations

Executes the destructor for this type. Read more

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

Performs the conversion.

Performs the conversion.

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.