Trait wasmi::WasmTypeList

source ·
pub trait WasmTypeList: DecodeUntypedSlice + EncodeUntypedSlice + Sized + Send { }
Expand description

A list of WasmType types.

§Note

This is a convenience trait that allows to:

  • Read host function parameters from a region of the value stack.
  • Write host function results into a region of the value stack.
  • Iterate over the value types of the Wasm type sequence
    • This is useful to construct host function signatures.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WasmTypeList for ()

source§

impl<T1> WasmTypeList for (T1,)
where T1: WasmType,

source§

impl<T1, T2> WasmTypeList for (T1, T2)
where T1: WasmType, T2: WasmType,

source§

impl<T1, T2, T3> WasmTypeList for (T1, T2, T3)
where T1: WasmType, T2: WasmType, T3: WasmType,

source§

impl<T1, T2, T3, T4> WasmTypeList for (T1, T2, T3, T4)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType,

source§

impl<T1, T2, T3, T4, T5> WasmTypeList for (T1, T2, T3, T4, T5)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6> WasmTypeList for (T1, T2, T3, T4, T5, T6)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType, T12: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType, T12: WasmType, T13: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType, T12: WasmType, T13: WasmType, T14: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType, T12: WasmType, T13: WasmType, T14: WasmType, T15: WasmType,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> WasmTypeList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
where T1: WasmType, T2: WasmType, T3: WasmType, T4: WasmType, T5: WasmType, T6: WasmType, T7: WasmType, T8: WasmType, T9: WasmType, T10: WasmType, T11: WasmType, T12: WasmType, T13: WasmType, T14: WasmType, T15: WasmType, T16: WasmType,

Implementors§

source§

impl<T1> WasmTypeList for T1
where T1: WasmType,