Structs§
Constants§
Traits§
- GcTrace
- Trait required for all GC’d data.
Unsafe because if the
trace()
implementation fails to callGc::mark_trace()
andGcWeak::mark_trace()
on all of theGc
andGcWeak
pointers that it can reach, the GC will free memory that is still in use. SAFETY: If the receiver also implsDrop
, thedrop()
impl must not deref anyGc
orGcWeak
pointers