pub trait Contravariant<'a, B>: ReParam<B> {
// Required method
fn contramap<F: 'a + Fn(B) -> Self::Param>(self, _: F) -> Self::Output;
}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.