wasmedge_sdk

Trait WasmVal

Source
pub trait WasmVal {
    // Required method
    fn to_wasm_value(self) -> WasmValue;
}
Expand description

Defines the function converting a value of Rust type to the one of Wasm type.

Required Methods§

Implementations on Foreign Types§

Source§

impl WasmVal for f32

Source§

impl WasmVal for f64

Source§

impl WasmVal for i8

Source§

impl WasmVal for i16

Source§

impl WasmVal for i32

Source§

impl WasmVal for i64

Source§

impl WasmVal for i128

Source§

impl WasmVal for u8

Source§

impl WasmVal for u16

Source§

impl WasmVal for u32

Implementors§