[][src]Trait sp_wasm_interface::WritePrimitive

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

Something that can write a primitive to wasm memory location.

Required methods

pub fn write_primitive(&mut self, ptr: Pointer<T>, t: T) -> Result<()>[src]

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

Loading content...

Implementors

impl WritePrimitive<u32> for &mut dyn FunctionContext[src]

impl WritePrimitive<u64> for &mut dyn FunctionContext[src]

Loading content...