Trait WasmTyList
pub unsafe trait WasmTyList {
// Required method
fn valtypes() -> impl Iterator<Item = ValType>;
}
Expand description
Trait implemented for various tuples made up of types which implement
WasmTy
that can be passed to Func::wrap_inner
and
[HostContext::from_closure
].
Required Methods§
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.