Trait itertools::adaptors::map::MapSpecialCaseFn

source ·
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

source§

impl<V, K, F: FnMut(&V) -> K> MapSpecialCaseFn<V> for GroupingMapFn<F>

§

type Out = (K, V)