Module gc

Source

Structs§

Gc
! Smart pointer to GCed data. See the module-level documentation for more details.
GcWeak

Constants§

GC_SWEEP

Traits§

GcTrace
Trait required for all GC’d data. Unsafe because if the trace() implementation fails to call Gc::mark_trace() and GcWeak::mark_trace() on all of the Gc and GcWeak pointers that it can reach, the GC will free memory that is still in use. SAFETY: If the receiver also impls Drop, the drop() impl must not deref any Gc or GcWeak pointers

Functions§

gc_collect
gc_force