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§
fn to_wasm_value(self) -> WasmValue
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".