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

Method to_val

crates/c-api/src/val.rs:353–355  ·  view source on GitHub ↗
(&self, cx: &mut RootScope<impl AsContextMut>)

Source from the content-addressed store, hash-verified

351 /// of the `Store`.
352 #[cfg(feature = "gc")]
353 pub unsafe fn to_val(&self, cx: &mut RootScope<impl AsContextMut>) -> Val {
354 self.to_val_unscoped(cx)
355 }
356
357 /// Convert this `wasmtime_val_t` into a `wasmtime::Val` (non-gc version).
358 ///

Callers 12

wasmtime_func_callFunction · 0.80
wasmtime_arrayref_newFunction · 0.80
wasmtime_arrayref_setFunction · 0.80
wasmtime_func_call_asyncFunction · 0.80
wasmtime_global_newFunction · 0.80
wasmtime_global_setFunction · 0.80
wasmtime_exnref_newFunction · 0.80
wasmtime_table_newFunction · 0.80
wasmtime_table_setFunction · 0.80
wasmtime_table_growFunction · 0.80
wasmtime_structref_newFunction · 0.80

Calls 1

to_val_unscopedMethod · 0.80

Tested by

no test coverage detected