Settings
Help

Module context

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.