Module lens_rs::traits[][src]

Traits

Lens
LensMut
LensRef

A trait representing the optics allows you to access the field. A Lens can access the substructure must exist.

Prism
PrismMut
PrismRef

A trait representing the optics behaves as the first-class pattern. A Prism can access the substructure may exist.

Review

A trait representing the optics describes how to construct a single value.

Traversal
TraversalMut
TraversalRef

A trait representing the optics allows you to traverse over a structure and change out its contents. A Traversal can access the multiple substructures.