pub struct GcObject {
pub id: GcId,
pub state: GcState,
pub refs: Vec<GcId>,
}Expand description
A managed object with an adjacency list of references.
Fields§
§id: GcId§state: GcState§refs: Vec<GcId>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcObject
impl RefUnwindSafe for GcObject
impl Send for GcObject
impl Sync for GcObject
impl Unpin for GcObject
impl UnsafeUnpin for GcObject
impl UnwindSafe for GcObject
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