trait SpecArrayEq<Other, const N: usize>: Sized {
// Required methods
fn spec_eq(a: &[Self; N], b: &[Other; N]) -> bool;
fn spec_ne(a: &[Self; N], b: &[Other; N]) -> bool;
}
Required Methods§
fn spec_eq(a: &[Self; N], b: &[Other; N]) -> bool
fn spec_ne(a: &[Self; N], b: &[Other; N]) -> 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.