pub struct Rooted<T>where
T: GcRef,{ /* private fields */ }Expand description
This type is disabled because the gc cargo feature was not enabled at
compile time.
Implementations§
Source§impl<T> Rooted<T>where
T: GcRef,
impl<T> Rooted<T>where
T: GcRef,
pub fn to_owned_rooted( &self, _store: impl AsContextMut, ) -> Result<OwnedRooted<T>, Error>
pub fn rooted_eq(a: Rooted<T>, _b: Rooted<T>) -> bool
pub fn ref_eq( _store: impl AsContext, a: &impl RootedGcRef<T>, _b: &impl RootedGcRef<T>, ) -> Result<bool, Error>
Trait Implementations§
impl<T> Copy for Rooted<T>where
T: GcRef,
impl<T> Eq for Rooted<T>where
T: GcRef,
Auto Trait Implementations§
impl<T> Freeze for Rooted<T>
impl<T> RefUnwindSafe for Rooted<T>where
T: RefUnwindSafe,
impl<T> Send for Rooted<T>where
T: Send,
impl<T> Sync for Rooted<T>where
T: Sync,
impl<T> Unpin for Rooted<T>where
T: Unpin,
impl<T> UnwindSafe for Rooted<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