Trait AsStoreMut

Source
pub trait AsStoreMut: AsStoreRef {
    // Required methods
    fn as_store_mut(&mut self) -> StoreMut<'_>;
    fn objects_mut(&mut self) -> &mut StoreObjects;
}
Expand description

Helper trait for a value that is convertible to a StoreMut.

Required Methods§

Source

fn as_store_mut(&mut self) -> StoreMut<'_>

Returns a StoreMut pointing to the underlying context.

Source

fn objects_mut(&mut self) -> &mut StoreObjects

Returns the ObjectMutable

Implementors§

Source§

impl AsStoreMut for Store

Source§

impl AsStoreMut for StoreMut<'_>

Source§

impl<P> AsStoreMut for P
where P: DerefMut, P::Target: AsStoreMut,

Source§

impl<T> AsStoreMut for BackendFunctionEnvMut<'_, T>

Source§

impl<T> AsStoreMut for wasmer::backend::sys::entities::function::env::FunctionEnvMut<'_, T>

Source§

impl<T> AsStoreMut for wasmer::FunctionEnvMut<'_, T>