Module context

Source

Structs§

Block 🔒
A block of allocations. This type should be owned by Context and not used directly.
Context 🔒
Owns all allocations and creates objects. All objects have a lifetime tied to the borrow of their Context. When the Context goes out of scope, no objects should be accessible.
RootSet 🔒
A global store of all gc roots. This struct should be passed to the Context when it is created.

Enums§

DropStackElem 🔒

Constants§

SINGLETON_CHECK 🔒
Ensure there is only one context per thread.

Statics§

GLOBAL_CHECK 🔒
Ensure there is only one global context.