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

Method functions

crates/wasmtime/src/runtime/component/component.rs:578–583  ·  view source on GitHub ↗

Get information about functions in this component's `.text` section: their module index, function index, name, and offset+length.

(&self)

Source from the content-addressed store, hash-verified

576 /// Get information about functions in this component's `.text` section:
577 /// their module index, function index, name, and offset+length.
578 pub fn functions(&self) -> impl Iterator<Item = crate::ModuleFunction> + '_ {
579 self.inner
580 .static_modules
581 .values()
582 .flat_map(|m| m.functions())
583 }
584
585 /// Get the address map for this component's `.text` section.
586 ///

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected