pub trait MapSpecialCaseFn<T> {
    type Out;

    // Required method
    fn call(&mut self, t: T) -> Self::Out;
}

Required Associated Types§

Required Methods§

source

fn call(&mut self, t: T) -> Self::Out

Implementors§

source§

impl<F, T, U, E> MapSpecialCaseFn<Result<T, E>> for MapSpecialCaseFnOk<F>where F: FnMut(T) -> U,

§

type Out = Result<U, E>

source§

impl<T: Into<U>, U> MapSpecialCaseFn<T> for MapSpecialCaseFnInto<U>

§

type Out = U