pub trait EqualUnderlyingData {
// Required method
fn equal_underlying_data(&self, other: &Self) -> bool;
}Expand description
Compare two structures by the data they ultimately represent, not necessarily by their concrete variants.
Required Methods§
fn equal_underlying_data(&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.