pub trait WasmValType {
    const WASM_TYPE: ValType;
}
Expand description

Describes the mapping of Rust type to Wasm type.

use wasmedge_sdk::{WasmValType, ValType};

assert_eq!(i32::WASM_TYPE, ValType::I32);

Required Associated Constants§

The Wasm type.

Implementations on Foreign Types§

Implementors§