wasmtime

Trait WasmTy

Source
pub unsafe trait WasmTy: Send { }
Available on crate feature runtime only.
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§

Source§

impl WasmTy for Option<Func>

Source§

impl WasmTy for Option<I31>

Available on crate feature gc only.
Source§

impl WasmTy for Option<ManuallyRooted<AnyRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<ManuallyRooted<ArrayRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<ManuallyRooted<EqRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<ManuallyRooted<ExternRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<ManuallyRooted<StructRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<NoExtern>

Source§

impl WasmTy for Option<NoFunc>

Source§

impl WasmTy for Option<NoneRef>

Source§

impl WasmTy for Option<Rooted<AnyRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<Rooted<ArrayRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<Rooted<EqRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<Rooted<ExternRef>>

Available on crate feature gc only.
Source§

impl WasmTy for Option<Rooted<StructRef>>

Available on crate feature gc only.
Source§

impl WasmTy for f32

Source§

impl WasmTy for f64

Source§

impl WasmTy for i32

Source§

impl WasmTy for i64

Source§

impl WasmTy for u32

Source§

impl WasmTy for u64

Implementors§

Source§

impl WasmTy for Func

Source§

impl WasmTy for I31

Available on crate feature gc only.
Source§

impl WasmTy for ManuallyRooted<AnyRef>

Available on crate feature gc only.
Source§

impl WasmTy for ManuallyRooted<ArrayRef>

Available on crate feature gc only.
Source§

impl WasmTy for ManuallyRooted<EqRef>

Available on crate feature gc only.
Source§

impl WasmTy for ManuallyRooted<ExternRef>

Available on crate feature gc only.
Source§

impl WasmTy for ManuallyRooted<StructRef>

Available on crate feature gc only.
Source§

impl WasmTy for NoExtern

Source§

impl WasmTy for NoFunc

Source§

impl WasmTy for NoneRef

Source§

impl WasmTy for Rooted<AnyRef>

Available on crate feature gc only.
Source§

impl WasmTy for Rooted<ArrayRef>

Available on crate feature gc only.
Source§

impl WasmTy for Rooted<EqRef>

Available on crate feature gc only.
Source§

impl WasmTy for Rooted<ExternRef>

Available on crate feature gc only.
Source§

impl WasmTy for Rooted<StructRef>

Available on crate feature gc only.
Source§

impl WasmTy for V128

Available on x86-64 or AArch64 only.