[][src]Trait rarrow::classes::Contravariant

pub trait Contravariant: Unplug + Plug<Self::A> {
    fn contramap<B, F>(self, f: F) -> Self::Out
    where
        Self: Plug<B>,
        F: FnOnce(B) -> Self::A
; }

Required methods

fn contramap<B, F>(self, f: F) -> Self::Out where
    Self: Plug<B>,
    F: FnOnce(B) -> Self::A

Loading content...

Implementors

Loading content...