Trait Applicative

Source
pub trait Applicative:
    Functor
    + Pure
    + Apply
    + ApplyFirst
    + ApplySecond { }

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§

Source§

impl<T> Applicative for T

Blanket implementation for the Applicative typeclass.

Any type that implements all the required supertraits automatically implements Applicative.