Trait extism_runtime::InternalExt
source · pub trait InternalExt {
// Required methods
fn memory(&self) -> &PluginMemory;
fn memory_mut(&mut self) -> &mut PluginMemory;
// Provided methods
fn store(&self) -> &Store<Internal> { ... }
fn store_mut(&mut self) -> &mut Store<Internal> { ... }
fn internal(&self) -> &Internal { ... }
fn internal_mut(&mut self) -> &mut Internal { ... }
}Expand description
InternalExt provides a unified way of acessing memory, store and internal values