[][src]Trait lisbeth_tuple_tools::TupleMap4

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

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

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

impl<A, B, C, E, T, U> TupleMap4<T, U> for (A, B, C, T, E)[src]

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...