pub struct ModuleMemoryImages { /* private fields */ }
Expand description

Backing images for memories in a module.

This is meant to be built once, when a module is first loaded/constructed, and then used many times for instantiation.

Implementations

Get the MemoryImage for a given memory.

Create a new ModuleMemoryImages for the given module. This can be passed in as part of a InstanceAllocationRequest to speed up instantiation and execution by using copy-on-write-backed memories.

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.