Trait AsContextMut

Source
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§

Source

fn as_context_mut(&mut self) -> E::StoreContextMut<'_, Self::UserState>

Returns the store context that this type provides access to.

Implementors§

Source§

impl<E, C> AsContextMut<E> for C
where C: AsContextMut<Engine = E>, E: WasmEngine,