[][src]Trait lisbeth_tuple_tools::TupleMap3

pub trait TupleMap3<T, U> {
    type Output;
    pub fn map_3<Func>(self, f: Func) -> Self::Output
    where
        Func: FnOnce(T) -> U
; }

Allows to map the third element of a tuple to another type.

Associated Types

Loading content...

Required methods

pub fn map_3<Func>(self, f: Func) -> Self::Output where
    Func: FnOnce(T) -> U, 
[src]

Loading content...

Implementations on Foreign Types

impl<A, B, T, U> TupleMap3<T, U> for (A, B, T)[src]

type Output = (A, B, U)

impl<A, B, D, T, U> TupleMap3<T, U> for (A, B, T, D)[src]

type Output = (A, B, U, D)

impl<A, B, D, E, T, U> TupleMap3<T, U> for (A, B, T, D, E)[src]

type Output = (A, B, U, D, E)

impl<A, B, D, E, F, T, U> TupleMap3<T, U> for (A, B, T, D, E, F)[src]

type Output = (A, B, U, D, E, F)

impl<A, B, D, E, F, G, T, U> TupleMap3<T, U> for (A, B, T, D, E, F, G)[src]

type Output = (A, B, U, D, E, F, G)

impl<A, B, D, E, F, G, H, T, U> TupleMap3<T, U> for (A, B, T, D, E, F, G, H)[src]

type Output = (A, B, U, D, E, F, G, H)

Loading content...

Implementors

Loading content...