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

source

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

Returns the store context that this type provides access to.

Implementations on Foreign Types§

source§

impl<T> AsContextMut for &mut T
where T: AsContextMut,

Implementors§