pub trait WasmerResults: FlatLayout {
type Results: WasmTypeList;
// Required methods
fn from_wasmer(results: Self::Results) -> Self;
fn into_wasmer(self) -> Self::Results;
}
Expand description
Conversions between flat layouts and Wasmer function result types.
Required Associated Types§
Sourcetype Results: WasmTypeList
type Results: WasmTypeList
The type Wasmer uses to represent the results.
Required Methods§
Sourcefn from_wasmer(results: Self::Results) -> Self
fn from_wasmer(results: Self::Results) -> Self
Converts from Wasmer’s representation into a flat layout.
Sourcefn into_wasmer(self) -> Self::Results
fn into_wasmer(self) -> Self::Results
Converts from this flat layout into Wasmer’s representation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.