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]

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.

Auto Trait Implementations

impl !RefUnwindSafe for WeakPass

impl !Send for WeakPass

impl !Sync for WeakPass

impl Unpin for WeakPass

impl UnwindSafe for WeakPass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.