pub trait TupleMapperFirst<Input, Output, Result>where
    Self: Sized,{
    // Required method
    fn map_first(self, mapper: impl Fn(Input) -> Output) -> Result;
}

Required Methods§

source

fn map_first(self, mapper: impl Fn(Input) -> Output) -> Result

Implementations on Foreign Types§

source§

impl<S, E, I, O> TupleMapperFirst<I, O, Result<(O, S), E>> for Result<(I, S), E>

source§

fn map_first(self, mapper: impl Fn(I) -> O) -> Result<(O, S), E>

Implementors§