Trait wasmer_runtime_core_fl::types::WasmExternType [−][src]
pub unsafe trait WasmExternType: Copy where
Self: Sized, { type Native: NativeWasmType; fn from_native(native: Self::Native) -> Self; fn to_native(self) -> Self::Native; }
Expand description
A trait to represent a wasm extern type.
Associated Types
type Native: NativeWasmType
type Native: NativeWasmType
Native wasm type for this WasmExternType
.
Required methods
fn from_native(native: Self::Native) -> Self
fn from_native(native: Self::Native) -> Self
Convert from given Native
type to self.