pub trait Tuple2Map0<T0, T1> {
    // Required method
    fn map0<U>(self, f: impl FnOnce(T0) -> U) -> (U, T1);
}
Expand description

Mapping .0 for Tuple2

Required Methods§

source

fn map0<U>(self, f: impl FnOnce(T0) -> U) -> (U, T1)

Mapping .0 for Tuple2

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T0, T1> Tuple2Map0<T0, T1> for (T0, T1)

source§

fn map0<U>(self, f: impl FnOnce(T0) -> U) -> (U, T1)

Implementors§