pub trait EquivalentFor<U>: Sized {
// Required method
fn equivalent_for(self) -> U;
}Required Methods§
fn equivalent_for(self) -> U
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".