Trait WasmResults
pub unsafe trait WasmResults: WasmParams { }
Expand description
A trait used for Func::typed
and with TypedFunc
to represent the set of
results for wasm functions.
This is currently only implemented for ()
and for bare types that can be
returned. This is not yet implemented for tuples because a multi-value
TypedFunc
is not currently supported.
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.