pub struct Then<A, B> { /* private fields */ }Expand description
Lens composed of two lenses joined together
Implementations§
Trait Implementations§
impl<A, B> Copy for Then<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Then<A, B>
impl<A, B> RefUnwindSafe for Then<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Then<A, B>
impl<A, B> Sync for Then<A, B>
impl<A, B> Unpin for Then<A, B>
impl<A, B> UnwindSafe for Then<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LensExt for Twhere
T: Lens,
impl<T> LensExt for Twhere
T: Lens,
Source§fn then<Other>(self, other: Other) -> Then<Self, Other>
fn then<Other>(self, other: Other) -> Then<Self, Other>
Compose a
Lens<Source = A, Target = B> with a Lens<Source = B, Target = C> to produce a Lens<Source = A, Target = C>