pub struct OwnedRooted<T>where
T: GcRef,{ /* private fields */ }Expand description
This type has been disabled because the gc cargo feature was not enabled
at compile time.
Implementations§
Source§impl<T> OwnedRooted<T>where
T: GcRef,
impl<T> OwnedRooted<T>where
T: GcRef,
pub fn clone(&self, _store: impl AsContextMut) -> OwnedRooted<T>
pub fn to_rooted(&self, _context: impl AsContextMut) -> Rooted<T>
pub fn into_rooted(self, _context: impl AsContextMut) -> Rooted<T>
Trait Implementations§
Source§impl<T> Debug for OwnedRooted<T>where
T: GcRef,
impl<T> Debug for OwnedRooted<T>where
T: GcRef,
Source§impl<T> Deref for OwnedRooted<T>where
T: GcRef,
impl<T> Deref for OwnedRooted<T>where
T: GcRef,
Source§impl From<OwnedRooted<ArrayRef>> for OwnedRooted<AnyRef>
impl From<OwnedRooted<ArrayRef>> for OwnedRooted<AnyRef>
Source§fn from(s: OwnedRooted<ArrayRef>) -> OwnedRooted<AnyRef>
fn from(s: OwnedRooted<ArrayRef>) -> OwnedRooted<AnyRef>
Converts to this type from the input type.
Source§impl From<OwnedRooted<ArrayRef>> for OwnedRooted<EqRef>
impl From<OwnedRooted<ArrayRef>> for OwnedRooted<EqRef>
Source§fn from(s: OwnedRooted<ArrayRef>) -> OwnedRooted<EqRef>
fn from(s: OwnedRooted<ArrayRef>) -> OwnedRooted<EqRef>
Converts to this type from the input type.
Source§impl From<OwnedRooted<EqRef>> for OwnedRooted<AnyRef>
impl From<OwnedRooted<EqRef>> for OwnedRooted<AnyRef>
Source§fn from(s: OwnedRooted<EqRef>) -> OwnedRooted<AnyRef>
fn from(s: OwnedRooted<EqRef>) -> OwnedRooted<AnyRef>
Converts to this type from the input type.
Source§impl From<OwnedRooted<StructRef>> for OwnedRooted<AnyRef>
impl From<OwnedRooted<StructRef>> for OwnedRooted<AnyRef>
Source§fn from(s: OwnedRooted<StructRef>) -> OwnedRooted<AnyRef>
fn from(s: OwnedRooted<StructRef>) -> OwnedRooted<AnyRef>
Converts to this type from the input type.
Source§impl From<OwnedRooted<StructRef>> for OwnedRooted<EqRef>
impl From<OwnedRooted<StructRef>> for OwnedRooted<EqRef>
Source§fn from(s: OwnedRooted<StructRef>) -> OwnedRooted<EqRef>
fn from(s: OwnedRooted<StructRef>) -> OwnedRooted<EqRef>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for OwnedRooted<T>
impl<T> RefUnwindSafe for OwnedRooted<T>where
T: RefUnwindSafe,
impl<T> Send for OwnedRooted<T>where
T: Send,
impl<T> Sync for OwnedRooted<T>where
T: Sync,
impl<T> Unpin for OwnedRooted<T>where
T: Unpin,
impl<T> UnsafeUnpin for OwnedRooted<T>
impl<T> UnwindSafe for OwnedRooted<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more