Trait functor::Contravariant [] [src]

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

Required Methods

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

Implementors