Struct lens_rs::optics::_3 [−][src]
Trait Implementations
impl<Optic: Clone> Clone for _3<Optic>
[src]
impl<Optic: Copy> Copy for _3<Optic>
[src]
impl<Ls, A, B, C, D, E, F, G> Lens<(A, B, C, D, E, F, G)> for _3<Ls> where
Ls: Lens<D>,
[src]
Ls: Lens<D>,
type To = Ls::To
fn view(&self, source: (A, B, C, D, E, F, G)) -> Self::To
[src]
fn view_ref<'a>(&self, source: &'a (A, B, C, D, E, F, G)) -> &'a Self::To
[src]
fn view_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> &'a mut Self::To
[src]
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> &'a mut Self::To
impl<Ls, A, B, C, D, E, F> Lens<(A, B, C, D, E, F)> for _3<Ls> where
Ls: Lens<D>,
[src]
Ls: Lens<D>,
type To = Ls::To
fn view(&self, source: (A, B, C, D, E, F)) -> Self::To
[src]
fn view_ref<'a>(&self, source: &'a (A, B, C, D, E, F)) -> &'a Self::To
[src]
fn view_mut<'a>(&self, source: &'a mut (A, B, C, D, E, F)) -> &'a mut Self::To
[src]
impl<Ls, A, B, C, D, E> Lens<(A, B, C, D, E)> for _3<Ls> where
Ls: Lens<D>,
[src]
Ls: Lens<D>,
type To = Ls::To
fn view(&self, source: (A, B, C, D, E)) -> Self::To
[src]
fn view_ref<'a>(&self, source: &'a (A, B, C, D, E)) -> &'a Self::To
[src]
fn view_mut<'a>(&self, source: &'a mut (A, B, C, D, E)) -> &'a mut Self::To
[src]
impl<Ls, A, B, C, D> Lens<(A, B, C, D)> for _3<Ls> where
Ls: Lens<D>,
[src]
Ls: Lens<D>,
type To = Ls::To
fn view(&self, source: (A, B, C, D)) -> Self::To
[src]
fn view_ref<'a>(&self, source: &'a (A, B, C, D)) -> &'a Self::To
[src]
fn view_mut<'a>(&self, source: &'a mut (A, B, C, D)) -> &'a mut Self::To
[src]
impl<Pm, A, B, C, D, E, F, G> Prism<(A, B, C, D, E, F, G)> for _3<Pm> where
Pm: Prism<D>,
[src]
Pm: Prism<D>,
type To = Pm::To
fn pm(&self, source: (A, B, C, D, E, F, G)) -> Option<Self::To>
[src]
fn pm_ref<'a>(&self, source: &'a (A, B, C, D, E, F, G)) -> Option<&'a Self::To>
[src]
fn pm_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> Option<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> Option<&'a mut Self::To>
impl<Pm, A, B, C, D, E, F> Prism<(A, B, C, D, E, F)> for _3<Pm> where
Pm: Prism<D>,
[src]
Pm: Prism<D>,
type To = Pm::To
fn pm(&self, source: (A, B, C, D, E, F)) -> Option<Self::To>
[src]
fn pm_ref<'a>(&self, source: &'a (A, B, C, D, E, F)) -> Option<&'a Self::To>
[src]
fn pm_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E, F)
) -> Option<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E, F)
) -> Option<&'a mut Self::To>
impl<Pm, A, B, C, D, E> Prism<(A, B, C, D, E)> for _3<Pm> where
Pm: Prism<D>,
[src]
Pm: Prism<D>,
type To = Pm::To
fn pm(&self, source: (A, B, C, D, E)) -> Option<Self::To>
[src]
fn pm_ref<'a>(&self, source: &'a (A, B, C, D, E)) -> Option<&'a Self::To>
[src]
fn pm_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E)
) -> Option<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E)
) -> Option<&'a mut Self::To>
impl<Pm, A, B, C, D> Prism<(A, B, C, D)> for _3<Pm> where
Pm: Prism<D>,
[src]
Pm: Prism<D>,
type To = Pm::To
fn pm(&self, source: (A, B, C, D)) -> Option<Self::To>
[src]
fn pm_ref<'a>(&self, source: &'a (A, B, C, D)) -> Option<&'a Self::To>
[src]
fn pm_mut<'a>(&self, source: &'a mut (A, B, C, D)) -> Option<&'a mut Self::To>
[src]
impl<Tr, A, B, C, D, E, F, G> Traversal<(A, B, C, D, E, F, G)> for _3<Tr> where
Tr: Traversal<D>,
[src]
Tr: Traversal<D>,
type To = Tr::To
fn traverse(&self, source: (A, B, C, D, E, F, G)) -> Vec<Self::To>
[src]
fn traverse_ref<'a>(
&self,
source: &'a (A, B, C, D, E, F, G)
) -> Vec<&'a Self::To>
[src]
&self,
source: &'a (A, B, C, D, E, F, G)
) -> Vec<&'a Self::To>
fn traverse_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> Vec<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E, F, G)
) -> Vec<&'a mut Self::To>
impl<Tr, A, B, C, D, E, F> Traversal<(A, B, C, D, E, F)> for _3<Tr> where
Tr: Traversal<D>,
[src]
Tr: Traversal<D>,
type To = Tr::To
fn traverse(&self, source: (A, B, C, D, E, F)) -> Vec<Self::To>
[src]
fn traverse_ref<'a>(&self, source: &'a (A, B, C, D, E, F)) -> Vec<&'a Self::To>
[src]
fn traverse_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E, F)
) -> Vec<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E, F)
) -> Vec<&'a mut Self::To>
impl<Tr, A, B, C, D, E> Traversal<(A, B, C, D, E)> for _3<Tr> where
Tr: Traversal<D>,
[src]
Tr: Traversal<D>,
type To = Tr::To
fn traverse(&self, source: (A, B, C, D, E)) -> Vec<Self::To>
[src]
fn traverse_ref<'a>(&self, source: &'a (A, B, C, D, E)) -> Vec<&'a Self::To>
[src]
fn traverse_mut<'a>(
&self,
source: &'a mut (A, B, C, D, E)
) -> Vec<&'a mut Self::To>
[src]
&self,
source: &'a mut (A, B, C, D, E)
) -> Vec<&'a mut Self::To>
impl<Tr, A, B, C, D> Traversal<(A, B, C, D)> for _3<Tr> where
Tr: Traversal<D>,
[src]
Tr: Traversal<D>,
Auto Trait Implementations
impl<Optic> RefUnwindSafe for _3<Optic> where
Optic: RefUnwindSafe,
Optic: RefUnwindSafe,
impl<Optic> Send for _3<Optic> where
Optic: Send,
Optic: Send,
impl<Optic> Sync for _3<Optic> where
Optic: Sync,
Optic: Sync,
impl<Optic> Unpin for _3<Optic> where
Optic: Unpin,
Optic: Unpin,
impl<Optic> UnwindSafe for _3<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> 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>,