[][src]Trait rust_fp_categories::apply::Apply

pub trait Apply {
    type Elm;
    type M: Apply<Elm = B>;
    pub fn ap<B, F>(self, fs: Self::M) -> Self::M
    where
        F: Fn(&Self::Elm) -> B
; }

Associated Types

type Elm[src]

type M: Apply<Elm = B>[src]

Loading content...

Required methods

pub fn ap<B, F>(self, fs: Self::M) -> Self::M where
    F: Fn(&Self::Elm) -> B, 
[src]

Loading content...

Implementations on Foreign Types

impl<A> Apply for Rc<A>[src]

type Elm = A

type M = Rc<U>

impl<A> Apply for Box<A>[src]

type Elm = A

type M = Box<U>

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

type Elm = A

type M = Option<U>

impl<A, E: Clone> Apply for Result<A, E>[src]

type Elm = A

type M = Result<U, E>

impl<A> Apply for Vec<A>[src]

type Elm = A

type M = Vec<U>

Loading content...

Implementors

Loading content...