Trait wasmer_types::WasmValueType [−][src]
pub trait WasmValueType: Debug + 'static { unsafe fn write_value_to(&self, p: *mut i128); unsafe fn read_value_from(store: &dyn Any, p: *const i128) -> Self; }
Expand description
Trait for reading and writing Wasm values into binary for use on the layer
between the API and the VM internals, specifically with wasmer_types::Value
.
Required methods
unsafe fn write_value_to(&self, p: *mut i128)
[src]
unsafe fn write_value_to(&self, p: *mut i128)
[src]Write the value
unsafe fn read_value_from(store: &dyn Any, p: *const i128) -> Self
[src]
unsafe fn read_value_from(store: &dyn Any, p: *const i128) -> Self
[src]read the value