Struct arret_runtime::boxed::collect::WeakPass [−][src]
pub struct WeakPass { /* fields omitted */ }
Weak pass of a collection to a new Heap
This will return the location of cells that have been moved to the new heap or None
for
cells that were not visited during the strong pass.
Implementations
impl WeakPass
[src]
impl WeakPass
[src]pub fn into_new_heap(self) -> Heap
[src]
Finishes garbage collection by returning the new Heap
pub fn new_heap_ref_for<T: Boxed>(&self, boxed: Gc<T>) -> Option<Gc<T>>
[src]
Visits a garbage collected box
If the box was moved during the strong pass its new location will be returned. Otherwise,
None
will be returned.