Trait tuples::tuple_map::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§
sourcefn map2<U>(self, f: impl FnOnce(T2) -> U) -> (T0, T1, U, T3, T4)
fn map2<U>(self, f: impl FnOnce(T2) -> U) -> (T0, T1, U, T3, T4)
Mapping .2
for Tuple5
Object Safety§
This trait is not object safe.