Trait tuix_internal::store::LensExt [−][src]
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 Lens
es
Provided methods
Compose a Lens<Source = A, Target = B>
with a Lens<Source = B, Target = C>
to produce a Lens<Source = A, Target = C>