pub trait Extend<A, B>: Functor<A, B> + Sized {
// Required method
fn extend<F>(self, f: F) -> <Self as Lift<A, B>>::Target1
where F: Fn(Self) -> B;
}Expand description
Extend is the opposite of Bind.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".