Lines Matching refs:AnyRef
95 pub struct AnyRef { struct
99 impl From<Rooted<EqRef>> for Rooted<AnyRef> { argument
106 impl From<OwnedRooted<EqRef>> for OwnedRooted<AnyRef> {
113 impl From<Rooted<StructRef>> for Rooted<AnyRef> {
120 impl From<OwnedRooted<StructRef>> for OwnedRooted<AnyRef> {
127 impl From<Rooted<ArrayRef>> for Rooted<AnyRef> {
134 impl From<OwnedRooted<ArrayRef>> for OwnedRooted<AnyRef> {
141 unsafe impl GcRefImpl for AnyRef { implementation
158 impl AnyRef { implementation
302 .matches(VMGcKind::AnyRef) in from_cloned_gc_ref()
369 debug_assert!(header.kind().matches(VMGcKind::AnyRef)); in _ty()
686 unsafe impl WasmTy for Rooted<AnyRef> {
712 Self::wasm_ty_load(store, ptr.get_anyref(), AnyRef::from_cloned_gc_ref) in load()
716 unsafe impl WasmTy for Option<Rooted<AnyRef>> {
752 <Rooted<AnyRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store()
756 <Rooted<AnyRef>>::wasm_ty_option_load(store, ptr.get_anyref(), AnyRef::from_cloned_gc_ref) in load()
760 unsafe impl WasmTy for OwnedRooted<AnyRef> {
786 Self::wasm_ty_load(store, ptr.get_anyref(), AnyRef::from_cloned_gc_ref) in load()
790 unsafe impl WasmTy for Option<OwnedRooted<AnyRef>> {
827 <OwnedRooted<AnyRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store()
831 <OwnedRooted<AnyRef>>::wasm_ty_option_load( in load()
834 AnyRef::from_cloned_gc_ref, in load()