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

Method unwrap_any

crates/wasmtime/src/runtime/values.rs:949–951  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

947 /// Returns `Some(_)` if this `Ref` is a non-null `any` reference.
948 #[inline]
949 pub fn unwrap_any(&self) -> Option<&Rooted<AnyRef>> {
950 self.as_any().expect("Ref::unwrap_any on non-any reference")
951 }
952
953 /// Is this an `exn` reference?
954 #[inline]

Callers 5

host_sets_array_in_tableFunction · 0.80
wasm_sets_array_in_tableFunction · 0.80
mainFunction · 0.80

Calls 2

expectMethod · 0.45
as_anyMethod · 0.45

Tested by

no test coverage detected