Module ghost

Module ghost 

Source
Expand description

A traitified version of ghost_cell.

To use this, simply construct a TokenCell using a GhostToken obtained with the TokenTrait::with_token constructor.

Structsยง

GhostToken
A lifetime based token, inspired by ghost_cell.
InvariantLifetime
The identifier for a GhostToken-based cell is its InvariantLifetime