pub trait SameDeclarations {
// Required method
fn same_declarations(&self, other: &Self) -> bool;
}Expand description
Equality that ignores source positions, so shifting a declaration to another line doesn’t count as changing it.
Required Methods§
fn same_declarations(&self, other: &Self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".