Skip to main content

compose

Function compose 

Source
pub fn compose<LHS, RHS>(lhs: LHS, rhs: RHS) -> ComposedLens<LHS, RHS>
where LHS: RefLens, LHS::Target: 'static, RHS: Lens<Source = LHS::Target>,
Expand description

Composes a Lens<A, B> with another Lens<B, C> to produce a new Lens<A, C>.