[][src]Trait lisbeth_tuple_tools::TupleMap5

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

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...