pub unsafe trait WasmRet { }
Expand description
A trait implemented for types which can be returned from closures passed to
Func::wrap
and friends.
This trait should not be implemented by user types. This trait may change at any time internally. The types which implement this trait, however, are stable over time.
For more information see Func::wrap
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§
impl WasmRet for ()
Available on crate feature
runtime
only.impl<A1> WasmRet for (A1,)where
A1: WasmTy,
Available on crate feature
runtime
only.impl<A1, A2> WasmRet for (A1, A2)
Available on crate feature
runtime
only.impl<A1, A2, A3> WasmRet for (A1, A2, A3)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4> WasmRet for (A1, A2, A3, A4)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4, A5> WasmRet for (A1, A2, A3, A4, A5)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4, A5, A6> WasmRet for (A1, A2, A3, A4, A5, A6)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4, A5, A6, A7> WasmRet for (A1, A2, A3, A4, A5, A6, A7)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8)
Available on crate feature
runtime
only.impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmRet 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, A10> WasmRet 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, A11> WasmRet 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, A12> WasmRet 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, A13> WasmRet 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, A14> WasmRet 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, A15> WasmRet 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, A16> WasmRet 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, A17> WasmRet 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<T> WasmRet for Result<T>where
T: WasmRet,
Available on crate feature
runtime
only.