pub trait Functor: Functor {
// Required method
fn fmap<A, B, F>(f: F, fa: Self::Container<A>) -> Self::Container<B>
where F: FnOnce(A) -> B;
}Required Methods§
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.