Module jlrs::memory::target::frame

source ·
Expand description

Dynamically and statically-sized frames.

Every scope has its own frame which can hold some number of roots. When the scope ends these roots are removed from the set of roots, so all data rooted in a frame can safely be used until its scope ends. This hold true even if the frame is dropped before its scope ends.

For more information see the documentation in the memory and target modules.

Re-exports§

Modules§

Structs§

  • A frame that has been borrowed. A new scope must be created before it can be used as a target again.
  • A dynamically-sized frame that can hold an arbitrary number of roots.
  • A statically-sized frame that can hold N roots.