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

Method unwrap_array

crates/environ/src/gc.rs:313–318  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

311 /// Get the underlying `GcArrayLayout`, or panic.
312 #[track_caller]
313 pub fn unwrap_array(&self) -> &GcArrayLayout {
314 match self {
315 Self::Array(a) => a,
316 _ => panic!("GcLayout::unwrap_array on non-array GC layout"),
317 }
318 }
319}
320
321/// The layout of a GC-managed array.

Callers 15

host_sets_array_globalFunction · 0.45
wasm_sets_array_globalFunction · 0.45
host_sets_array_in_tableFunction · 0.45
wasm_sets_array_in_tableFunction · 0.45
anyref_unwrap_arrayFunction · 0.45
eqref_unwrap_arrayFunction · 0.45
storage_typeMethod · 0.45
allows_memsetMethod · 0.45

Calls

no outgoing calls

Tested by 3

anyref_unwrap_arrayFunction · 0.36
eqref_unwrap_arrayFunction · 0.36