[][src]Trait rust_fp_categories::bind::Bind

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

Associated Types

type Elm[src]

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

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

type Elm = A

type M = Rc<U>

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

type Elm = A

type M = Box<U>

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

type Elm = A

type M = Option<U>

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

type Elm = A

type M = Result<U, E>

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

type Elm = A

type M = Vec<U>

Loading content...

Implementors

Loading content...