Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
drc_transitive_drop_cons_list
Function · 0.80
issue_9714
Function · 0.80
host_globals_keep_type_registration
Function · 0.80
Calls
2
expect
Method · 0.45
as_ref
Method · 0.45
Tested by
1
host_globals_keep_type_registration
Function · 0.64