Trait wasmtime::WasmTy[][src]

pub unsafe trait WasmTy { }

A trait implemented for types which can be arguments and results for closures passed to Func::wrap as well as parameters to Func::typed.

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 and Func::typed

Implementations on Foreign Types

impl WasmTy for i32[src]

type Abi = i32

impl WasmTy for u32[src]

type Abi = u32

impl WasmTy for i64[src]

type Abi = i64

impl WasmTy for u64[src]

type Abi = u64

impl WasmTy for f32[src]

type Abi = f32

impl WasmTy for f64[src]

type Abi = f64

impl WasmTy for Option<ExternRef>[src]

type Abi = *mut u8

impl WasmTy for Option<Func>[src]

type Abi = *mut VMCallerCheckedAnyfunc

Loading content...

Implementors

Loading content...