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

Method load_ty

crates/wasmtime/src/runtime/func.rs:880–882  ·  view source on GitHub ↗

Forcibly loads the type of this function from the `Engine`. Note that this is a somewhat expensive method since it requires taking a lock as well as cloning a type.

(&self, store: &StoreOpaque)

Source from the content-addressed store, hash-verified

878 /// Note that this is a somewhat expensive method since it requires taking a
879 /// lock as well as cloning a type.
880 pub(crate) fn load_ty(&self, store: &StoreOpaque) -> FuncType {
881 FuncType::from_shared_type_index(store.engine(), self.type_index(store))
882 }
883
884 /// Does this function match the given type?
885 ///

Callers 7

tyMethod · 0.45
_matches_tyMethod · 0.45
ensure_matches_tyMethod · 0.45
call_impl_check_argsMethod · 0.45
call_impl_do_callMethod · 0.45
typedMethod · 0.45
_new_uncheckedMethod · 0.45

Calls 2

engineMethod · 0.45
type_indexMethod · 0.45

Tested by

no test coverage detected