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

Class ComponentInstance

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

Source from the content-addressed store, hash-verified

1084/// Component instance type
1085#[derive(Clone, Debug)]
1086pub struct ComponentInstance(Handle<TypeComponentInstanceIndex>);
1087
1088impl ComponentInstance {
1089 pub(crate) fn from(index: TypeComponentInstanceIndex, ty: &InstanceType<'_>) -> Self {

Callers 2

fromMethod · 0.70
from_exportMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected