Tuple5Map2

Trait Tuple5Map2 

Source
pub trait Tuple5Map2<T0, T1, T2, T3, T4> {
    // Required method
    fn map2<U>(self, f: impl FnOnce(T2) -> U) -> (T0, T1, U, T3, T4);
}
Expand description

Mapping .2 for Tuple5

Required Methods§

Source

fn map2<U>(self, f: impl FnOnce(T2) -> U) -> (T0, T1, U, T3, T4)

Mapping .2 for Tuple5

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T0, T1, T2, T3, T4> Tuple5Map2<T0, T1, T2, T3, T4> for (T0, T1, T2, T3, T4)

Source§

fn map2<U>(self, f: impl FnOnce(T2) -> U) -> (T0, T1, U, T3, T4)

Implementors§