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

Class Component

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

Source from the content-addressed store, hash-verified

1024/// Component type
1025#[derive(Clone, Debug)]
1026pub struct Component(Handle<TypeComponentIndex>);
1027
1028impl Component {
1029 pub(crate) fn from(index: TypeComponentIndex, ty: &InstanceType<'_>) -> Self {

Callers 8

fromMethod · 0.70
get_exportMethod · 0.50
perform_actionMethod · 0.50
moduleMethod · 0.50
module_definitionMethod · 0.50
run_directiveMethod · 0.50
fromMethod · 0.50
register_componentMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected