Struct wasmtime_runtime::StorePtr
source · pub struct StorePtr(_);
Expand description
A pointer to a Store. This Option<*mut dyn Store> is wrapped in a struct so that the function to create a &mut dyn Store is a method on a member of InstanceAllocationRequest, rather than on a &mut InstanceAllocationRequest itself, because several use-sites require a split mut borrow on the InstanceAllocationRequest.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StorePtr
impl !Send for StorePtr
impl !Sync for StorePtr
impl Unpin for StorePtr
impl !UnwindSafe for StorePtr
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