Lines Matching refs:StructRef

156 pub struct StructRef {  struct
160 unsafe impl GcRefImpl for StructRef { implementation
177 impl Rooted<StructRef> {
191 impl OwnedRooted<StructRef> {
205 impl StructRef { implementation
237 ) -> Result<Rooted<StructRef>> { in new() argument
278 ) -> Result<Rooted<StructRef>> { in new_async() argument
289 ) -> Result<Rooted<StructRef>> { in _new_async() argument
330 ) -> Result<Rooted<StructRef>> { in new_unchecked() argument
457 debug_assert!(header.kind().matches(VMGcKind::StructRef)); in _fields()
471 structref: &'a StructRef, in _fields()
515 debug_assert!(self.header(store)?.kind().matches(VMGcKind::StructRef)); in structref()
621 debug_assert!(header.kind().matches(VMGcKind::StructRef)); in type_index()
639 unsafe impl WasmTy for Rooted<StructRef> {
687 Self::wasm_ty_load(store, ptr.get_anyref(), StructRef::from_cloned_gc_ref) in load()
691 unsafe impl WasmTy for Option<Rooted<StructRef>> {
710 Some(s) => Rooted::<StructRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check()
727 <Rooted<StructRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store()
731 <Rooted<StructRef>>::wasm_ty_option_load( in load()
734 StructRef::from_cloned_gc_ref, in load()
739 unsafe impl WasmTy for OwnedRooted<StructRef> {
787 Self::wasm_ty_load(store, ptr.get_anyref(), StructRef::from_cloned_gc_ref) in load()
791 unsafe impl WasmTy for Option<OwnedRooted<StructRef>> {
812 OwnedRooted::<StructRef>::dynamic_concrete_type_check(s, store, nullable, ty) in dynamic_concrete_type_check()
830 <OwnedRooted<StructRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store()
834 <OwnedRooted<StructRef>>::wasm_ty_option_load( in load()
837 StructRef::from_cloned_gc_ref, in load()