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

Method _module

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

Source from the content-addressed store, hash-verified

385 }
386
387 pub(crate) fn _module<'a>(&self, store: &'a StoreOpaque) -> &'a Module {
388 store.module_for_instance(self.id).unwrap()
389 }
390
391 /// Returns the list of exported items from this [`Instance`].
392 ///

Callers 3

moduleMethod · 0.80
get_module_exportMethod · 0.80
debug_exportMethod · 0.80

Calls 2

module_for_instanceMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected