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.
Implementations on Foreign Types§
Source§impl WasmTyList for ()
Available on crate feature runtime
only.
impl WasmTyList for ()
Available on crate feature
runtime
only.Source§impl<A1> WasmTyList for (A1,)where
A1: WasmTy,
Available on crate feature runtime
only.
impl<A1> WasmTyList for (A1,)where
A1: WasmTy,
Available on crate feature
runtime
only.Source§impl<A1, A2> WasmTyList for (A1, A2)
Available on crate feature runtime
only.
impl<A1, A2> WasmTyList for (A1, A2)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3> WasmTyList for (A1, A2, A3)
Available on crate feature runtime
only.
impl<A1, A2, A3> WasmTyList for (A1, A2, A3)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4> WasmTyList for (A1, A2, A3, A4)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4> WasmTyList for (A1, A2, A3, A4)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5> WasmTyList for (A1, A2, A3, A4, A5)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5> WasmTyList for (A1, A2, A3, A4, A5)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6> WasmTyList for (A1, A2, A3, A4, A5, A6)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6> WasmTyList for (A1, A2, A3, A4, A5, A6)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7> WasmTyList for (A1, A2, A3, A4, A5, A6, A7)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7> WasmTyList for (A1, A2, A3, A4, A5, A6, A7)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)
Available on crate feature
runtime
only.Source§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)
Available on crate feature runtime
only.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17> WasmTyList for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)
Available on crate feature
runtime
only.