Trait SpecArrayEq

Source
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§

Source

fn spec_eq(a: &[Self; N], b: &[Other; N]) -> bool

Source

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.

Implementors§

Source§

impl<T: BytewiseEq<U>, U, const N: usize> SpecArrayEq<U, N> for T

Source§

impl<T: PartialEq<Other>, Other, const N: usize> SpecArrayEq<Other, N> for T