Trait ApplySecond

Source
pub trait ApplySecond {
    // Required method
    fn apply_second<A, B>(
        fa: Apply<Self, (A,)>,
    ) -> impl Fn(Apply<Self, (B,)>) -> Apply<Self, (B,)>
       where Self: Kind<(A,)> + Kind<(B,)>,
             Apply<Self, (A,)>: Clone,
             B: Clone;
}

Required Methods§

Source

fn apply_second<A, B>( fa: Apply<Self, (A,)>, ) -> impl Fn(Apply<Self, (B,)>) -> Apply<Self, (B,)>
where Self: Kind<(A,)> + Kind<(B,)>, Apply<Self, (A,)>: Clone, B: Clone,

forall a b. ApplySecond f => f a -> f b -> f b

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§