[−][src]Trait witx_gen::WasiValue
Trait to convert WASI values between the Rust and native WASM representation.
Associated Types
type NativeType: Copy + Debug
The native WASM type.
Required methods
fn from_native(native: Self::NativeType) -> Result<Self, WasiValueError<Self>>
Converts a native WASM value to its Rust representation.
fn to_native(self) -> Self::NativeType
Converts a Rust value to its native WASM representation.