[][src]Trait ferrite_session::Functor

pub trait Functor: TypeAppGeneric {
    fn fmap<A, B>(
        fa: Applied<Self, A>,
        mapper: impl Fn(A) -> B
    ) -> Applied<Self, B>
    where
        A: Send + 'static,
        B: Send + 'static
; }

Required methods

fn fmap<A, B>(fa: Applied<Self, A>, mapper: impl Fn(A) -> B) -> Applied<Self, B> where
    A: Send + 'static,
    B: Send + 'static, 

Loading content...

Implementors

Loading content...