Crate dreck

Source

Modules§

marker
Marker types used by dreck.

Macros§

new_root
Create a new Owner and Root
rebind
Rebind a Gc object to a Root.
root
Root a Gc struct detaching it from their Root

Structs§

Gc
A pointer to a gc allocated value.
Owner
Owner of the Gc pointers.
Root
Root of the dreck GC, used for allocating Gc pointers and run collection.
RootGuard
A guard which will keep a value on the stack rooted for as long as it is alive.
Tracer
Object passed to Trace::trace method, used to mark pointers.

Traits§

Bound
Trait which indicates a Gc’d object who’s lifetimes can be rebound.
Trace
A trait for marking gc live pointers.

Functions§

rebind
Rebinds a value to a arbitray lifetime.
rebind_to
Rebind a value to the lifetime of a given borrow.