wiggle::wasmtime_crate

Trait WasmParams

pub unsafe trait WasmParams: Send { }
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.

Implementations on Foreign Types§

§

impl WasmParams for ()

§

impl<A1> WasmParams for (A1,)
where A1: WasmTy,

§

impl<A1, A2> WasmParams for (A1, A2)
where A1: WasmTy, A2: WasmTy,

§

impl<A1, A2, A3> WasmParams for (A1, A2, A3)
where A1: WasmTy, A2: WasmTy, A3: WasmTy,

§

impl<A1, A2, A3, A4> WasmParams for (A1, A2, A3, A4)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy,

§

impl<A1, A2, A3, A4, A5> WasmParams for (A1, A2, A3, A4, A5)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6> WasmParams for (A1, A2, A3, A4, A5, A6)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7> WasmParams for (A1, A2, A3, A4, A5, A6, A7)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy, A16: WasmTy,

§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy, A16: WasmTy, A17: WasmTy,

Implementors§

§

impl<T> WasmParams for T
where T: WasmTy,