Trait coyoneda::Functor [] [src]

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

Associated Types

type Output

Required Methods

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

Implementors