pub(crate) struct RootSet {
pub(super) roots: RefCell<Vec<*const dyn Trace>>,
}
Expand description
A global store of all gc roots. This struct should be passed to the Context when it is created.
Fields§
§roots: RefCell<Vec<*const dyn Trace>>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RootSet
impl !RefUnwindSafe for RootSet
impl !Send for RootSet
impl !Sync for RootSet
impl Unpin for RootSet
impl !UnwindSafe for RootSet
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