pub trait SpanIgnoredEq {
// Required method
fn span_ignored_eq(&self, other: &Self) -> bool;
}Expand description
Compare equality of two AST nodes without respecting their spans.
This allows to compare AST nodes content while they’re in different locations of syntax tree.
Required Methods§
Sourcefn span_ignored_eq(&self, other: &Self) -> bool
fn span_ignored_eq(&self, other: &Self) -> bool
Compare equality of two AST nodes without respecting their spans.
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.