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

Method component

crates/wasmtime/src/runtime/component/instance.rs:1107–1109  ·  view source on GitHub ↗

Returns the underlying component that will be instantiated.

(&self)

Source from the content-addressed store, hash-verified

1105
1106 /// Returns the underlying component that will be instantiated.
1107 pub fn component(&self) -> &Component {
1108 &self.component
1109 }
1110
1111 #[doc(hidden)]
1112 /// Returns the type at which the underlying component will be

Callers 15

ty_indexMethod · 0.45
lifted_core_funcMethod · 0.45
post_return_core_funcMethod · 0.45
abi_asyncMethod · 0.45
abi_infoMethod · 0.45
post_return_implMethod · 0.45
get_funcMethod · 0.45
get_moduleMethod · 0.45
_get_exportMethod · 0.45
get_export_indexMethod · 0.45
lookup_exportMethod · 0.45
optionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected