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

Method traitobj

crates/wasmtime/src/runtime/store.rs:2072–2074  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2070
2071 #[inline]
2072 pub fn traitobj(&self) -> NonNull<dyn VMStore> {
2073 self.traitobj.0.unwrap()
2074 }
2075
2076 /// Takes the cached `Vec<Val>` stored internally across hostcalls to get
2077 /// used as part of calling the host in a `Func::new` method invocation.

Callers 2

newMethod · 0.80
set_storeMethod · 0.80

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected