Trait wasmer_wasix::syscalls::AsStoreMut

pub(crate) 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§

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

Returns a StoreMut pointing to the underlying context.

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

Returns the ObjectMutable

Implementors§

§

impl AsStoreMut for Store

§

impl AsStoreMut for StoreMut<'_>

§

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

§

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