Trait Pure

Source
pub trait Pure {
    // Required method
    fn pure<A>(a: A) -> Apply<Self, (A,)>
       where Self: Kind<(A,)>;
}

Required Methods§

Source

fn pure<A>(a: A) -> Apply<Self, (A,)>
where Self: Kind<(A,)>,

forall a. Pure f => a -> f a

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§