[][src]Trait rust_fp_categories::pure::Pure

pub trait Pure {
    type Elm;
    type M: Pure<Elm = U>;
    pub fn pure(value: Self::Elm) -> Self::M;
}

Associated Types

type Elm[src]

type M: Pure<Elm = U>[src]

Loading content...

Required methods

pub fn pure(value: Self::Elm) -> Self::M[src]

Loading content...

Implementations on Foreign Types

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

type Elm = A

type M = Rc<U>

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

type Elm = A

type M = Box<U>

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

type Elm = A

type M = Option<U>

impl<A, E> Pure for Result<A, E>[src]

type Elm = A

type M = Result<U, E>

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

type Elm = A

type M = Vec<U>

Loading content...

Implementors

Loading content...