Settings
Help
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
Source
Search
Settings
Help
Summary
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.