Expand description

Garbage collector for the Boa JavaScript engine.

Macros

This rule implements the trace method.
This rule implements the trace methods with empty implementations.

Structs

A mutable memory location with dynamically checked borrow rules that can be used inside of a garbage-collected pointer.
A garbage-collected pointer type over an immutable value.
A wrapper type for an immutably borrowed value from a GcCell<T>.
A wrapper type for a mutably borrowed value from a GcCell<T>.

Traits

The Finalize trait, which needs to be implemented on garbage-collected objects to define finalization logic.
The Trace trait, which needs to be implemented on garbage-collected objects.

Functions

Immediately triggers a garbage collection on the current thread.

Derive Macros