Lines Matching refs:OwnedRooted

1044     pub fn to_owned_rooted(&self, mut store: impl AsContextMut) -> Result<OwnedRooted<T>> {  in to_owned_rooted()
1048 pub(crate) fn _to_owned_rooted(&self, store: &mut StoreOpaque) -> Result<OwnedRooted<T>> { in _to_owned_rooted()
1051 Ok(OwnedRooted::new(&mut store, gc_ref)?) in _to_owned_rooted()
1564 pub struct OwnedRooted<T> struct
1583 mem::size_of::<OwnedRooted<AnyRef>>() >= 16 && mem::size_of::<OwnedRooted<AnyRef>>() <= 24 argument
1585 assert!(mem::align_of::<OwnedRooted<AnyRef>>() == mem::align_of::<u64>());
1587 mem::size_of::<OwnedRooted<ExternRef>>() >= 16
1588 && mem::size_of::<OwnedRooted<ExternRef>>() <= 24
1590 assert!(mem::align_of::<OwnedRooted<ExternRef>>() == mem::align_of::<u64>());
1593 impl<T: GcRef> Debug for OwnedRooted<T> { implementation
1600 impl<T: GcRef> Deref for OwnedRooted<T> { implementation
1608 impl<T: GcRef> Clone for OwnedRooted<T> { implementation
1610 OwnedRooted { in clone()
1618 impl<T> OwnedRooted<T> implementation
1651 Ok(OwnedRooted { in new()
1813 pub(crate) fn unchecked_cast<U: GcRef>(self) -> OwnedRooted<U> { in unchecked_cast()
1814 OwnedRooted { in unchecked_cast()
1907 ) -> OwnedRooted<T> { in from_borrowed_raw_parts_for_c_api()
1918 OwnedRooted { in from_borrowed_raw_parts_for_c_api()
1935 ) -> OwnedRooted<T> { in from_owned_raw_parts_for_c_api()
1937 OwnedRooted { in from_owned_raw_parts_for_c_api()
1949 impl<T: GcRef> RootedGcRefImpl<T> for OwnedRooted<T> { implementation
1972 assert!(std::mem::size_of::<OwnedRooted<ExternRef>>() <= 24); in sizes()