Expand description
A non-sync cycle-collecting reference-counted smart pointer.
Modules§
Structs§
- Gc
- A cycle-collected reference-counted smart pointer.
- GcVisitor
- Visitor provided during tracing of the reachable object graph. You shouldn’t need to interact
with this as
Gc::visit_children
will do the right thing for you. - Ref
- Wraps an immutable borrowed reference to a value in a
Gc
. - RefMut
- Wraps a mutable borrowed reference to a value in a
Gc
.
Traits§
Functions§
- collect
- Perform a normal collection cycle.
- collect_
full - Perform a full, cycle-tracing collection of both the old & young gen.
- collect_
with_ options - Perform a collection cycle based on
CollectOptions
.