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

Method ty_

crates/wasmtime/src/runtime/component/func.rs:185–189  ·  view source on GitHub ↗
(&self, store: &StoreOpaque)

Source from the content-addressed store, hash-verified

183 }
184
185 fn ty_(&self, store: &StoreOpaque) -> ComponentFunc {
186 let cx = InstanceType::new(self.instance.id().get(store));
187 let ty = self.ty_index(store);
188 ComponentFunc::from(ty, &cx)
189 }
190
191 fn ty_index(&self, store: &StoreOpaque) -> TypeFuncIndex {
192 let instance = self.instance.id().get(store);

Callers 1

tyMethod · 0.45

Calls 5

fromFunction · 0.85
ty_indexMethod · 0.80
newFunction · 0.50
getMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected