Trait node_testing::client::sc_executor::sp_wasm_interface::WritePrimitive[][src]

pub trait WritePrimitive<T> where
    T: PointerType
{ fn write_primitive(&mut self, ptr: Pointer<T>, t: T) -> Result<(), String>; }
Expand description

Something that can write a primitive to wasm memory location.

Required methods

Write the given value t to the given memory location ptr.

Implementors