Struct wasm_runtime_layer::StoreContext
source · pub struct StoreContext<'a, T: 'a, E: WasmEngine> { /* private fields */ }
Expand description
Implementations§
source§impl<'a, T: 'a, E: WasmEngine> StoreContext<'a, T, E>
impl<'a, T: 'a, E: WasmEngine> StoreContext<'a, T, E>
Trait Implementations§
source§impl<'a, T: 'a, E: WasmEngine> AsContext for StoreContext<'a, T, E>
impl<'a, T: 'a, E: WasmEngine> AsContext for StoreContext<'a, T, E>
Auto Trait Implementations§
impl<'a, T, E> Freeze for StoreContext<'a, T, E>
impl<'a, T, E> RefUnwindSafe for StoreContext<'a, T, E>
impl<'a, T, E> Send for StoreContext<'a, T, E>
impl<'a, T, E> Sync for StoreContext<'a, T, E>
impl<'a, T, E> Unpin for StoreContext<'a, T, E>
impl<'a, T, E> UnwindSafe for StoreContext<'a, T, E>
Blanket Implementations§
source§impl<E, C> AsContext<E> for Cwhere
C: AsContext<Engine = E>,
E: WasmEngine,
impl<E, C> AsContext<E> for Cwhere
C: AsContext<Engine = E>,
E: WasmEngine,
source§fn as_context(
&self
) -> <E as WasmEngine>::StoreContext<'_, <C as AsContext<E>>::UserState>
fn as_context( &self ) -> <E as WasmEngine>::StoreContext<'_, <C as AsContext<E>>::UserState>
Returns the store context that this type provides access to.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more