Trait soroban_wasmi::AsContextMut
source · pub trait AsContextMut: AsContext {
// Required method
fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState>;
}
Expand description
A trait used to get exclusive access to a Store
in wasmi
.
Required Methods§
sourcefn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState>
fn as_context_mut(&mut self) -> StoreContextMut<'_, Self::UserState>
Returns the store context that this type provides access to.