Module context
rune
0.1.0
Module context
Module Items
Structs
Enums
Constants
Statics
In rune::
core::
gc
Modules
context
heap
root
trace
rune
::
core
::
gc
Module
context
Copy item path
Settings
Help
Summary
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
§
Drop
Stack
Elem
🔒
Constants
§
SINGLETON_
CHECK
🔒
Ensure there is only one context per thread.
Statics
§
GLOBAL_
CHECK
🔒
Ensure there is only one global context.