Skip to main content

Module stack

Module stack 

Source
Expand description

The lens stack: the ordered set of lenses available for a value.

A value has many peer lenses. The stack is the dispatcher’s full ranking rather than just its winner: every eligible lens for a value, best first, ending at the universal default. The operator flips between entries with intent/set-lens (see crate::set_lens); switching never touches the value.

Structs§

LensStackEntry
One entry in a value’s lens stack.