Struct Module
Source pub struct Module<'a> { }
Expand description
Representation of an adapter module.
Registers a new adapter within this adapter module.
The name provided is the export name of the adapter from the final
module, and adapter contains all metadata necessary for compilation.
Encodes this module into a WebAssembly binary.
Returns the imports that were used, in order, to create this adapter
module.
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.