pub trait ArrayEq {
// Required method
fn array_eq(&self, other: &Self, precision: Precision) -> bool;
}Expand description
An equality trait for arrays that represents structural equality with a configurable level of precision. This trait is used primarily to implement common subtree elimination and other array-based caching mechanisms.
The precision of the equality check defines what level of structural equality is represented. See
Precision for more details.
Required Methods§
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.