Home
last modified time | relevance | path

Searched refs:unwrap_struct (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Dstructs.rs392 let s = s.unwrap_struct(&mut caller)?; in passing_structs_through_wasm_with_untyped_calls()
408 let t = t.unwrap_struct(&mut store)?; in passing_structs_through_wasm_with_untyped_calls()
492 let s1 = anyref.unwrap_struct(&store)?; in host_sets_struct_global()
542 let s1 = anyref.unwrap_struct(&store)?; in wasm_sets_struct_global()
588 let s1 = anyref.unwrap_struct(&store)?; in host_sets_struct_in_table()
640 let s1 = anyref.unwrap_struct(&store)?; in wasm_sets_struct_in_table()
695 let s1 = anyref.unwrap_struct(&store)?; in instantiate_with_struct_global()
H A Ddebug.rs242 .unwrap_struct(&caller) in gc_access_during_call()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/
H A Deqref.rs85 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct() method
H A Danyref.rs138 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct() method
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs403 pub fn unwrap_struct(&self, ty: ModuleInternedTypeIndex) -> WasmResult<&WasmStructType> { in unwrap_struct() method
408 Ok(composite_type.inner.unwrap_struct()) in unwrap_struct()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/
H A Denabled.rs355 let struct_ty = func_env.types.unwrap_struct(interned_ty)?; in translate_struct_new_default()
390 let field_ty = &func_env.types.unwrap_struct(interned_type_index)?.fields[field_index]; in translate_struct_get()
439 let field_ty = &func_env.types.unwrap_struct(interned_type_index)?.fields[field_index]; in translate_struct_set()
1438 let result = self.gc_layout(type_index).unwrap_struct(); in struct_or_exn_layout()
/wasmtime-44.0.1/crates/environ/src/
H A Dgc.rs298 pub fn unwrap_struct(&self) -> &Arc<GcStructLayout> { in unwrap_struct() method
H A Dtypes.rs1281 pub fn unwrap_struct(&self) -> &WasmStructType { in unwrap_struct() method
1451 pub fn unwrap_struct(&self) -> &WasmStructType { in unwrap_struct() method
1453 self.composite_type.inner.unwrap_struct() in unwrap_struct()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Deqref.rs393 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct() method
H A Danyref.rs607 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct() method
H A Dexnref.rs92 .unwrap_struct() in layout()
H A Dstructref.rs88 .unwrap_struct() in layout()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs2053 self.registered_type().unwrap_struct() in as_wasm_struct_type()