Trait wasmtime::WasmTyList

source ·
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§

source

fn valtypes() -> impl Iterator<Item = ValType>

Get the value type that each Type in the list represents.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WasmTyList for ()

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

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

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmTyList 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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmTyList 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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> WasmTyList 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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

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)
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,

source§

fn valtypes() -> impl Iterator<Item = ValType>

Implementors§