pub trait AsContextMut<E: WasmEngine>: AsContext<E> {
// Required method
fn as_context_mut(&mut self) -> E::StoreContextMut<'_, Self::UserState>;
}Expand description
A trait used to get mutable access to a store.
Required Methods§
Sourcefn as_context_mut(&mut self) -> E::StoreContextMut<'_, Self::UserState>
fn as_context_mut(&mut self) -> E::StoreContextMut<'_, Self::UserState>
Returns the store context that this type provides access to.