Struct pit_rust_host_lib::StoreCell
source · pub struct StoreCell<U, E: WasmEngine> {
pub wrapped: UnsafeCell<Store<U, E>>,
}
Fields§
§wrapped: UnsafeCell<Store<U, E>>
Implementations§
source§impl<U, E: WasmEngine> StoreCell<U, E>
impl<U, E: WasmEngine> StoreCell<U, E>
pub unsafe fn get(&self) -> StoreContextMut<'_, U, E>
Trait Implementations§
impl<U: Send, E: Send + WasmEngine> Send for StoreCell<U, E>
impl<U: Sync, E: Sync + WasmEngine> Sync for StoreCell<U, E>
Auto Trait Implementations§
impl<U, E> !Freeze for StoreCell<U, E>
impl<U, E> !RefUnwindSafe for StoreCell<U, E>
impl<U, E> Unpin for StoreCell<U, E>
impl<U, E> UnwindSafe for StoreCell<U, E>
Blanket Implementations§
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