[][src]Trait rarrow::classes::Functor

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

Required methods

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

Loading content...

Implementations on Foreign Types

impl<A> Functor for Option<A>[src]

Loading content...

Implementors

Loading content...