[−][src]Trait witx_gen::WasmValue
A value that can be stored into WASM memory.
Associated Constants
const SIZE: u32
Size of a value
const ARRAY_OFFSET: u32
Offset between two elements of this type inside an array.
Required methods
fn read(mem: &[Cell<u8>]) -> Self
Reads the value from memory at the given offset.
fn write(self, mem: &[Cell<u8>])
Writes the value to memory at the given offset.