MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / all_globals

Method all_globals

crates/wasmtime/src/runtime/instance.rs:625–631  ·  view source on GitHub ↗
(
        &'a self,
        store: &'a mut StoreOpaque,
    )

Source from the content-addressed store, hash-verified

623 /// Gives access to the full globals space.
624 #[cfg(feature = "coredump")]
625 pub(crate) fn all_globals<'a>(
626 &'a self,
627 store: &'a mut StoreOpaque,
628 ) -> impl ExactSizeIterator<Item = (GlobalIndex, Global)> + 'a {
629 let store_id = store.id();
630 store[self.id].all_globals(store_id)
631 }
632
633 /// Get all memories within this instance.
634 ///

Callers 1

_serializeMethod · 0.45

Calls 1

idMethod · 0.45

Tested by

no test coverage detected