pub(crate) struct StoreInner {
pub(crate) functions: AddrVec<FuncAddr, FuncInst>,
pub(crate) tables: AddrVec<TableAddr, TableInst>,
pub(crate) memories: AddrVec<MemAddr, MemInst>,
pub(crate) globals: AddrVec<GlobalAddr, GlobalInst>,
pub(crate) elements: AddrVec<ElemAddr, ElemInst>,
pub(crate) data: AddrVec<DataAddr, DataInst>,
}Expand description
This is a Wasm store as defined by the specification. It contains all state relevant for execution.
There is a directly one-to-one relation between Store and StoreInner.
See: WebAssembly Specification 2.0 - 4.2.3 - Store
§Safety
All addresses contained in a Store and its StoreInner must be valid for their associated
address vectors in the same store.
Fields§
§functions: AddrVec<FuncAddr, FuncInst>§tables: AddrVec<TableAddr, TableInst>§memories: AddrVec<MemAddr, MemInst>§globals: AddrVec<GlobalAddr, GlobalInst>§elements: AddrVec<ElemAddr, ElemInst>§data: AddrVec<DataAddr, DataInst>Auto Trait Implementations§
impl Freeze for StoreInner
impl !RefUnwindSafe for StoreInner
impl Send for StoreInner
impl Sync for StoreInner
impl Unpin for StoreInner
impl UnwindSafe for StoreInner
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