Trait tuix::LensExt[]

pub trait LensExt: Lens {
    fn then<Other>(self, other: Other) -> Then<Self, Other>
    where
        Other: Lens
, { ... }
fn and<Other>(self, other: Other) -> And<Self, Other>
    where
        Other: Lens
, { ... }
fn index<I>(self, index: I) -> Then<Self, Index<Self::Target, I>>
    where
        I: 'static + Clone,
        Self::Target: Index<I>,
        Self::Target: Sized,
        <Self::Target as Index<I>>::Output: Sized,
        <Self::Target as Index<I>>::Output: Clone
, { ... } }
Expand description

Helpers for manipulating Lenses

Provided methods

Compose a Lens<Source = A, Target = B> with a Lens<Source = B, Target = C> to produce a Lens<Source = A, Target = C>

Implementors