pub struct ComponentComposer<'a> { /* private fields */ }
Expand description
Used to compose a WebAssembly component from other components.
The component composer resolves the dependencies of a root component
from components of matching names in the file system.
The exports of the root component are then exported from the composed
component.
Constructs a new WebAssembly component composer.
component - The path to the component to compose.
config - The configuration to use for the composition.
Composes a WebAssembly component based on the composer’s configuration.
Returns the bytes of the composed component.
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.