Trait wasmer_wasix::syscalls::AsStoreRef

pub(crate) trait AsStoreRef {
    // Required method
    fn as_store_ref(&self) -> StoreRef<'_>;
}
Expand description

Helper trait for a value that is convertible to a [StoreRef].

Required Methods§

fn as_store_ref(&self) -> StoreRef<'_>

Returns a StoreRef pointing to the underlying context.

Implementors§

§

impl AsStoreRef for Store

§

impl AsStoreRef for StoreMut<'_>

§

impl AsStoreRef for StoreRef<'_>

§

impl<P> AsStoreRef for P
where P: Deref, <P as Deref>::Target: AsStoreRef,

§

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