[−][src]Struct druid::lens::Then
Lens
composed of two lenses joined together
Implementations
impl<T, U, B: ?Sized> Then<T, U, B>
[src]
pub fn new<A: ?Sized, C: ?Sized>(left: T, right: U) -> Self where
T: Lens<A, B>,
U: Lens<B, C>,
[src]
T: Lens<A, B>,
U: Lens<B, C>,
Compose two lenses
See also LensExt::then
.
Trait Implementations
impl<T: Clone, U: Clone, B> Clone for Then<T, U, B>
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy, U: Copy, B: Copy + ?Sized> Copy for Then<T, U, B>
[src]
impl<T: Debug, U: Debug, B: Debug + ?Sized> Debug for Then<T, U, B>
[src]
impl<T, U, A, B, C> Lens<A, C> for Then<T, U, B> where
A: ?Sized,
B: ?Sized,
C: ?Sized,
T: Lens<A, B>,
U: Lens<B, C>,
[src]
A: ?Sized,
B: ?Sized,
C: ?Sized,
T: Lens<A, B>,
U: Lens<B, C>,
Auto Trait Implementations
impl<T, U, B: ?Sized> RefUnwindSafe for Then<T, U, B> where
B: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
[src]
B: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U, B: ?Sized> Send for Then<T, U, B> where
B: Send,
T: Send,
U: Send,
[src]
B: Send,
T: Send,
U: Send,
impl<T, U, B: ?Sized> Sync for Then<T, U, B> where
B: Sync,
T: Sync,
U: Sync,
[src]
B: Sync,
T: Sync,
U: Sync,
impl<T, U, B: ?Sized> Unpin for Then<T, U, B> where
B: Unpin,
T: Unpin,
U: Unpin,
[src]
B: Unpin,
T: Unpin,
U: Unpin,
impl<T, U, B: ?Sized> UnwindSafe for Then<T, U, B> where
B: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
[src]
B: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
pub fn round_into(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,