Struct lens_rs::optics::_both[][src]

pub struct _both<Optic>(pub Optic);

Trait Implementations

impl<Optic: Clone> Clone for _both<Optic>[src]

impl<Optic: Copy> Copy for _both<Optic>[src]

impl<Optic: Debug> Debug for _both<Optic>[src]

impl<Optic: Eq> Eq for _both<Optic>[src]

impl<Ls, A> Lens<(A,)> for _both<Ls> where
    Ls: Lens<A>, 
[src]

impl<Ls, A> LensMut<(A,)> for _both<Ls> where
    Ls: LensMut<A>, 
[src]

impl<Ls, A> LensRef<(A,)> for _both<Ls> where
    Ls: LensRef<A>, 
[src]

impl<Optic: PartialEq> PartialEq<_both<Optic>> for _both<Optic>[src]

impl<Pm, A> Prism<(A,)> for _both<Pm> where
    Pm: Prism<A>, 
[src]

impl<Pm, A> PrismMut<(A,)> for _both<Pm> where
    Pm: PrismMut<A>, 
[src]

impl<Pm, A> PrismRef<(A,)> for _both<Pm> where
    Pm: PrismRef<A>, 
[src]

impl<Rv, A> Review<(A,)> for _both<Rv> where
    Rv: Review<A>, 
[src]

type From = Rv::From

impl<Optic> StructuralEq for _both<Optic>[src]

impl<Optic> StructuralPartialEq for _both<Optic>[src]

impl<Tr, A> Traversal<(A, A, A, A, A, A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A, A, A, A, A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A, A, A, A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A, A, A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A, A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A, A)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> Traversal<(A,)> for _both<Tr> where
    Tr: Traversal<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A, A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A, A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A, A)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalMut<(A,)> for _both<Tr> where
    Tr: TraversalMut<A>, 
[src]

impl<Tr, A> TraversalRef<(A, A, A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A, A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A, A, A, A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A, A, A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A, A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A, A)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

impl<Tr, A> TraversalRef<(A,)> for _both<Tr> where
    Tr: TraversalRef<A>, 
[src]

type To = Tr::To

Auto Trait Implementations

impl<Optic> RefUnwindSafe for _both<Optic> where
    Optic: RefUnwindSafe

impl<Optic> Send for _both<Optic> where
    Optic: Send

impl<Optic> Sync for _both<Optic> where
    Optic: Sync

impl<Optic> Unpin for _both<Optic> where
    Optic: Unpin

impl<Optic> UnwindSafe for _both<Optic> where
    Optic: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.