[][src]Module rustc_data_structures::box_region

This module provides a way to deal with self-referential data.

The main idea is to allocate such data in a generator frame and then give access to it by executing user-provided closures inside that generator. The module provides a safe abstraction for the latter task.

The interface consists of two exported macros meant to be used together:

Structs

AccessAction
Marker
PinnedGenerator

Enums

Action
YieldType