pub trait PolyfillEq: View + Sized {
// Required method
fn polyfill_eq(&self, other: &Self) -> bool;
}
Expand description
A temporary replacement Clone
Required Methods§
fn polyfill_eq(&self, other: &Self) -> bool
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.