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

Method ty

crates/wasmtime/src/runtime/values.rs:159–161  ·  view source on GitHub ↗
(&self, store: impl AsContext)

Source from the content-addressed store, hash-verified

157 /// Panics if this value is associated with a different store.
158 #[inline]
159 pub fn ty(&self, store: impl AsContext) -> Result<ValType> {
160 self.load_ty(&store.as_context().0)
161 }
162
163 #[inline]
164 pub(crate) fn load_ty(&self, store: &StoreOpaque) -> Result<ValType> {

Callers

nothing calls this directly

Calls 2

load_tyMethod · 0.45
as_contextMethod · 0.45

Tested by

no test coverage detected