Struct lens_rs::optics::_0 [−][src]
behaves as x.0
, implemented Lens
Trait Implementations
impl<Optic: Clone> Clone for _0<Optic>
[src]
impl<Optic: Copy> Copy for _0<Optic>
[src]
impl<Optic: Debug> Debug for _0<Optic>
[src]
impl<Optic: Eq> Eq for _0<Optic>
[src]
impl<Ls, A> Lens<_0<Ls>> for (A,) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B> Lens<_0<Ls>> for (A, B) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B, C> Lens<_0<Ls>> for (A, B, C) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B, C, D> Lens<_0<Ls>> for (A, B, C, D) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B, C, D, E> Lens<_0<Ls>> for (A, B, C, D, E) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B, C, D, E, F> Lens<_0<Ls>> for (A, B, C, D, E, F) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A, B, C, D, E, F, G> Lens<_0<Ls>> for (A, B, C, D, E, F, G) where
A: Lens<Ls>,
[src]
A: Lens<Ls>,
impl<Ls, A> LensMut<_0<Ls>> for (A,) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B> LensMut<_0<Ls>> for (A, B) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B, C> LensMut<_0<Ls>> for (A, B, C) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B, C, D> LensMut<_0<Ls>> for (A, B, C, D) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B, C, D, E> LensMut<_0<Ls>> for (A, B, C, D, E) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B, C, D, E, F> LensMut<_0<Ls>> for (A, B, C, D, E, F) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A, B, C, D, E, F, G> LensMut<_0<Ls>> for (A, B, C, D, E, F, G) where
A: LensMut<Ls>,
[src]
A: LensMut<Ls>,
impl<Ls, A> LensRef<_0<Ls>> for (A,) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B> LensRef<_0<Ls>> for (A, B) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B, C> LensRef<_0<Ls>> for (A, B, C) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B, C, D> LensRef<_0<Ls>> for (A, B, C, D) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B, C, D, E> LensRef<_0<Ls>> for (A, B, C, D, E) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B, C, D, E, F> LensRef<_0<Ls>> for (A, B, C, D, E, F) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Ls, A, B, C, D, E, F, G> LensRef<_0<Ls>> for (A, B, C, D, E, F, G) where
A: LensRef<Ls>,
[src]
A: LensRef<Ls>,
impl<Opt, A> Optic<_0<Opt>> for (A,) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B> Optic<_0<Opt>> for (A, B) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B, C> Optic<_0<Opt>> for (A, B, C) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B, C, D> Optic<_0<Opt>> for (A, B, C, D) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B, C, D, E> Optic<_0<Opt>> for (A, B, C, D, E) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B, C, D, E, F> Optic<_0<Opt>> for (A, B, C, D, E, F) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Opt, A, B, C, D, E, F, G> Optic<_0<Opt>> for (A, B, C, D, E, F, G) where
A: Optic<Opt>,
[src]
A: Optic<Opt>,
impl<Optic: PartialEq> PartialEq<_0<Optic>> for _0<Optic>
[src]
impl<Pm, A> Prism<_0<Pm>> for (A,) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B> Prism<_0<Pm>> for (A, B) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B, C> Prism<_0<Pm>> for (A, B, C) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B, C, D> Prism<_0<Pm>> for (A, B, C, D) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B, C, D, E> Prism<_0<Pm>> for (A, B, C, D, E) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B, C, D, E, F> Prism<_0<Pm>> for (A, B, C, D, E, F) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A, B, C, D, E, F, G> Prism<_0<Pm>> for (A, B, C, D, E, F, G) where
A: Prism<Pm>,
[src]
A: Prism<Pm>,
fn preview(self, optics: _0<Pm>) -> Option<Self::Image> where
Self: Sized,
Self::Image: Sized,
[src]
Self: Sized,
Self::Image: Sized,
impl<Pm, A> PrismMut<_0<Pm>> for (A,) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B> PrismMut<_0<Pm>> for (A, B) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B, C> PrismMut<_0<Pm>> for (A, B, C) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B, C, D> PrismMut<_0<Pm>> for (A, B, C, D) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B, C, D, E> PrismMut<_0<Pm>> for (A, B, C, D, E) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B, C, D, E, F> PrismMut<_0<Pm>> for (A, B, C, D, E, F) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A, B, C, D, E, F, G> PrismMut<_0<Pm>> for (A, B, C, D, E, F, G) where
A: PrismMut<Pm>,
[src]
A: PrismMut<Pm>,
fn preview_mut(&mut self, optics: _0<Pm>) -> Option<&mut Self::Image>
[src]
impl<Pm, A> PrismRef<_0<Pm>> for (A,) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B> PrismRef<_0<Pm>> for (A, B) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B, C> PrismRef<_0<Pm>> for (A, B, C) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B, C, D> PrismRef<_0<Pm>> for (A, B, C, D) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B, C, D, E> PrismRef<_0<Pm>> for (A, B, C, D, E) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B, C, D, E, F> PrismRef<_0<Pm>> for (A, B, C, D, E, F) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Pm, A, B, C, D, E, F, G> PrismRef<_0<Pm>> for (A, B, C, D, E, F, G) where
A: PrismRef<Pm>,
[src]
A: PrismRef<Pm>,
fn preview_ref(&self, optics: _0<Pm>) -> Option<&Self::Image>
[src]
impl<Rv, A> Review<_0<Rv>> for (A,) where
A: Review<Rv>,
[src]
A: Review<Rv>,
impl<Optic> StructuralEq for _0<Optic>
[src]
impl<Optic> StructuralPartialEq for _0<Optic>
[src]
impl<Tr, A> Traversal<_0<Tr>> for (A,) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B> Traversal<_0<Tr>> for (A, B) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B, C> Traversal<_0<Tr>> for (A, B, C) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B, C, D> Traversal<_0<Tr>> for (A, B, C, D) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B, C, D, E> Traversal<_0<Tr>> for (A, B, C, D, E) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B, C, D, E, F> Traversal<_0<Tr>> for (A, B, C, D, E, F) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A, B, C, D, E, F, G> Traversal<_0<Tr>> for (A, B, C, D, E, F, G) where
A: Traversal<Tr>,
[src]
A: Traversal<Tr>,
impl<Tr, A> TraversalMut<_0<Tr>> for (A,) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B> TraversalMut<_0<Tr>> for (A, B) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B, C> TraversalMut<_0<Tr>> for (A, B, C) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B, C, D> TraversalMut<_0<Tr>> for (A, B, C, D) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B, C, D, E> TraversalMut<_0<Tr>> for (A, B, C, D, E) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B, C, D, E, F> TraversalMut<_0<Tr>> for (A, B, C, D, E, F) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A, B, C, D, E, F, G> TraversalMut<_0<Tr>> for (A, B, C, D, E, F, G) where
A: TraversalMut<Tr>,
[src]
A: TraversalMut<Tr>,
fn traverse_mut(&mut self, optics: _0<Tr>) -> Vec<&mut Self::Image>
[src]
impl<Tr, A> TraversalRef<_0<Tr>> for (A,) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B> TraversalRef<_0<Tr>> for (A, B) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B, C> TraversalRef<_0<Tr>> for (A, B, C) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B, C, D> TraversalRef<_0<Tr>> for (A, B, C, D) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B, C, D, E> TraversalRef<_0<Tr>> for (A, B, C, D, E) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B, C, D, E, F> TraversalRef<_0<Tr>> for (A, B, C, D, E, F) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
impl<Tr, A, B, C, D, E, F, G> TraversalRef<_0<Tr>> for (A, B, C, D, E, F, G) where
A: TraversalRef<Tr>,
[src]
A: TraversalRef<Tr>,
fn traverse_ref(&self, optics: _0<Tr>) -> Vec<&Self::Image>
[src]
Auto Trait Implementations
impl<Optic> RefUnwindSafe for _0<Optic> where
Optic: RefUnwindSafe,
Optic: RefUnwindSafe,
impl<Optic> Send for _0<Optic> where
Optic: Send,
Optic: Send,
impl<Optic> Sync for _0<Optic> where
Optic: Sync,
Optic: Sync,
impl<Optic> Unpin for _0<Optic> where
Optic: Unpin,
Optic: Unpin,
impl<Optic> UnwindSafe for _0<Optic> where
Optic: UnwindSafe,
Optic: 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> Optic<__> for T
[src]
type Image = T
impl<T> Prism<__> for T
[src]
pub fn preview(Self, __) -> Option<<T as Optic<__>>::Image> where
<T as Optic<__>>::Image: Sized,
[src]
<T as Optic<__>>::Image: Sized,
impl<T> PrismMut<__> for T
[src]
impl<T> PrismRef<__> for T
[src]
impl<T> Review<__> for T
[src]
pub fn review(__, <T as Optic<__>>::Image) -> <T as Optic<__>>::Image where
<T as Optic<__>>::Image: Sized,
[src]
<T as Optic<__>>::Image: Sized,
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> Traversal<__> for T
[src]
pub fn traverse(Self, __) -> Vec<<T as Optic<__>>::Image, Global> where
<T as Optic<__>>::Image: Sized,
[src]
<T as Optic<__>>::Image: Sized,
impl<T> TraversalMut<__> for T
[src]
impl<T> TraversalRef<__> for 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>,