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

Method vm_func_ref

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

Source from the content-addressed store, hash-verified

1208
1209 #[inline]
1210 pub(crate) fn vm_func_ref(&self, store: &StoreOpaque) -> NonNull<VMFuncRef> {
1211 self.store.assert_belongs_to(store.id());
1212 self.unsafe_func_ref.as_non_null()
1213 }
1214
1215 pub(crate) fn vmimport(&self, store: &StoreOpaque) -> VMFunctionImport {
1216 // Safety: it should be fine to dereference the funcref pointer while we

Callers 15

type_indexMethod · 0.80
call_uncheckedMethod · 0.80
to_raw_Method · 0.80
vmimportMethod · 0.80
hash_keyMethod · 0.80
start_rawMethod · 0.80
lifted_core_funcMethod · 0.80
resourceMethod · 0.80
extract_reallocMethod · 0.80
extract_callbackMethod · 0.80
extract_post_returnMethod · 0.80
assert_type_matchesMethod · 0.80

Calls 3

assert_belongs_toMethod · 0.45
idMethod · 0.45
as_non_nullMethod · 0.45

Tested by

no test coverage detected