Trait Functor
rarrow::classes
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; }
fn fmap<B, F>(self, f: F) -> Self::Out where Self: Plug<B>, F: FnOnce(Self::A) -> B,
impl<A> Functor for Option<A>
fn fmap<B, F>(self, f: F) -> Self::Out where F: FnOnce(Self::A) -> B,