Trait tuples::tuple_map::Tuple5Map2Result
source · pub trait Tuple5Map2Result<E, T0, T1, T2, T3, T4> {
// Required method
fn map2<U>(self, f: impl FnOnce(T2) -> U) -> Result<(T0, T1, U, T3, T4), E>;
}
Expand description
Mapping .2
for Tuple5
Required Methods§
sourcefn map2<U>(self, f: impl FnOnce(T2) -> U) -> Result<(T0, T1, U, T3, T4), E>
fn map2<U>(self, f: impl FnOnce(T2) -> U) -> Result<(T0, T1, U, T3, T4), E>
Mapping .2
for Tuple5
Object Safety§
This trait is not object safe.