pub unsafe trait WasmParams: Send { }
Available on crate feature
runtime
only.Expand description
A trait used for Func::typed
and with TypedFunc
to represent the set of
parameters for wasm functions.
This is implemented for bare types that can be passed to wasm as well as tuples of those types.
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.