[][src]Trait rust_fp_categories::Pure

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

Associated Types

type Elm[src]

type M[src]

Loading content...

Required methods

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

pub fn unit() -> Self::M[src]

Loading content...

Implementations on Foreign Types

impl Pure for usize[src]

type Elm = usize

type M = U

impl Pure for u8[src]

type Elm = u8

type M = U

impl Pure for u16[src]

type Elm = u16

type M = U

impl Pure for u32[src]

type Elm = u32

type M = U

impl Pure for u64[src]

type Elm = u64

type M = U

impl Pure for u128[src]

type Elm = u128

type M = U

impl Pure for isize[src]

type Elm = isize

type M = U

impl Pure for i8[src]

type Elm = i8

type M = U

impl Pure for i16[src]

type Elm = i16

type M = U

impl Pure for i32[src]

type Elm = i32

type M = U

impl Pure for i64[src]

type Elm = i64

type M = U

impl Pure for i128[src]

type Elm = i128

type M = U

impl Pure for f32[src]

type Elm = f32

type M = U

impl Pure for f64[src]

type Elm = f64

type M = U

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...