wasmtime

Trait WasmParams

Source
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.

Implementations on Foreign Types§

Source§

impl WasmParams for ()

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<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> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)

Source§

impl<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> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)

Source§

impl<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> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)

Source§

impl<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> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)

Source§

impl<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> WasmParams for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)

Implementors§

Source§

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