pub struct VmDock { /* private fields */ }
Expand description
Extends a Vm instance by supporting function arguments of Rust built-in types.
Creates a new VmDock to be associated with the given Vm.
vm
- The Vm instance to be extended.
Runs an exported WASM function registered in a named or active module.
If fail to run the WASM function, then an error is returned.
Formats the value using the given formatter.
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.