Trait WasmTy

Source
pub trait WasmTy:
    From<UntypedVal>
    + Into<UntypedVal>
    + Send { }
Expand description

Types that can be used as parameters or results of host functions.

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