Trait Pure

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

Required Methods§

Source

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

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§