Trait functor::Covariant [] [src]

pub trait Covariant<'a, B>: ReParam<B> {
    fn fmap<F: 'a + Fn(Self::Param) -> B>(self, F) -> Self::Output;
}

Required Methods

fn fmap<F: 'a + Fn(Self::Param) -> B>(self, F) -> Self::Output

Implementors