wiggle::wasmtime_crate

Trait WasmTy

pub unsafe trait WasmTy: Send { }
Expand description

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

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 WasmTy for Option<Func>

§

impl WasmTy for Option<I31>

§

impl WasmTy for Option<ManuallyRooted<AnyRef>>

§

impl WasmTy for Option<ManuallyRooted<ArrayRef>>

§

impl WasmTy for Option<ManuallyRooted<EqRef>>

§

impl WasmTy for Option<ManuallyRooted<ExternRef>>

§

impl WasmTy for Option<ManuallyRooted<StructRef>>

§

impl WasmTy for Option<NoExtern>

§

impl WasmTy for Option<NoFunc>

§

impl WasmTy for Option<NoneRef>

§

impl WasmTy for Option<Rooted<AnyRef>>

§

impl WasmTy for Option<Rooted<ArrayRef>>

§

impl WasmTy for Option<Rooted<EqRef>>

§

impl WasmTy for Option<Rooted<ExternRef>>

§

impl WasmTy for Option<Rooted<StructRef>>

§

impl WasmTy for f32

§

impl WasmTy for f64

§

impl WasmTy for i32

§

impl WasmTy for i64

§

impl WasmTy for u32

§

impl WasmTy for u64

Implementors§