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

Method unwrap_ref

crates/wasmtime/src/runtime/types.rs:282–285  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

280 /// reference type.
281 #[inline]
282 pub fn unwrap_ref(&self) -> &RefType {
283 self.as_ref()
284 .expect("ValType::unwrap_ref on a non-reference type")
285 }
286
287 /// Does this value type match the other type?
288 ///

Callers 3

issue_9714Function · 0.80

Calls 2

expectMethod · 0.45
as_refMethod · 0.45

Tested by 1