Trait map_tuple::TupleMap2

source ·
pub trait TupleMap2<R, F> {
    type Output;

    // Required method
    fn map2(self, f: F) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn map2(self, f: F) -> Self::Output

Implementations on Foreign Types§

source§

impl<R, F, T0, T1, T2> TupleMap2<R, F> for (T0, T1, T2)where F: Fn(T2) -> R,

§

type Output = (T0, T1, R)

source§

fn map2(self, f: F) -> Self::Output

source§

impl<R, F, T0, T1, T2, T3, T4, T5, T6, T7> TupleMap2<R, F> for (T0, T1, T2, T3, T4, T5, T6, T7)where F: Fn(T2) -> R,

Generics may not line up exactly with the index due to the way the macros are designed, but the size of the tuple is correct

source§

impl<R, F, T0, T1, T2, T4, T5, T6, T7> TupleMap2<R, F> for (T0, T1, T2, T4, T5, T6, T7)where F: Fn(T2) -> R,

source§

impl<R, F, T0, T1, T2, T5, T6, T7> TupleMap2<R, F> for (T0, T1, T2, T5, T6, T7)where F: Fn(T2) -> R,

§

type Output = (T0, T1, R, T5, T6, T7)

source§

fn map2(self, f: F) -> Self::Output

source§

impl<R, F, T0, T1, T2, T6, T7> TupleMap2<R, F> for (T0, T1, T2, T6, T7)where F: Fn(T2) -> R,

§

type Output = (T0, T1, R, T6, T7)

source§

fn map2(self, f: F) -> Self::Output

source§

impl<R, F, T0, T1, T2, T7> TupleMap2<R, F> for (T0, T1, T2, T7)where F: Fn(T2) -> R,

§

type Output = (T0, T1, R, T7)

source§

fn map2(self, f: F) -> Self::Output

Implementors§