Crate gc[][src]

Expand description

Thread-local reference-counted pointers with immediate cycle collection.

The Gc<T> type provides shared ownership of a value. It is not Send, since the cycle collection occurs on a single thread.

Macros

unsafe_empty_trace

Implement an empty trace on a type.

unsafe_field_trace

Structs

Gc

A pointer type over a value that provides shared ownership and immediate cycle collection upon Drop.

Traits

Trace

A trait for tracing through Gced values.

Derive Macros

Trace

Derive an impl of Trace on a type.