AsStoreMut

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AsStoreMut for AsyncCallStoreMut

Source§

impl AsStoreMut for Store

Source§

impl AsStoreMut for StoreAsyncWriteLock

Source§

impl AsStoreMut for StoreMut<'_>

Source§

impl AsStoreMut for StoreInner

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>

Source§

impl<T: 'static> AsStoreMut for BackendAsyncFunctionEnvHandleMut<T>

Source§

impl<T: 'static> AsStoreMut for wasmer::backend::sys::entities::function::env::AsyncFunctionEnvHandleMut<T>

Source§

impl<T: 'static> AsStoreMut for wasmer::AsyncFunctionEnvHandleMut<T>