pub trait Apply<B>: Functor<B> + HKT<Box<dyn Fn(<Self as HKT<B>>::Current) -> B>> {
// Required method
fn ap(
self,
f: <Self as HKT<Box<dyn Fn(<Self as HKT<B>>::Current) -> B>>>::Target,
) -> <Self as HKT<B>>::Target;
}
Required Methods§
fn ap( self, f: <Self as HKT<Box<dyn Fn(<Self as HKT<B>>::Current) -> B>>>::Target, ) -> <Self as HKT<B>>::Target
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.