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

Method type_index

crates/wasmtime/src/runtime/func.rs:913–915  ·  view source on GitHub ↗
(&self, data: &StoreOpaque)

Source from the content-addressed store, hash-verified

911 }
912
913 pub(crate) fn type_index(&self, data: &StoreOpaque) -> VMSharedTypeIndex {
914 unsafe { self.vm_func_ref(data).as_ref().type_index }
915 }
916
917 /// Invokes this function with the `params` given and writes returned values
918 /// to `results`.

Callers 3

load_tyMethod · 0.45
vmctx_syncMethod · 0.45
fromMethod · 0.45

Calls 2

vm_func_refMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected