Trait core::cmp::PartialEq
[−]
[src]
pub trait PartialEq<Rhs: ?Sized = Self> {
fn eq(&self, other: &Rhs) -> bool;
fn ne(&self, other: &Rhs) -> bool { ... }
}Trait for equality comparisons which are partial equivalence relations.
This trait allows for partial equality, for types that do not have a full
equivalence relation. For example, in floating point numbers NaN != NaN,
so floating point types implement PartialEq but not Eq.
Formally, the equality must be (for all a, b and c):
- symmetric:
a == bimpliesb == a; and - transitive:
a == bandb == cimpliesa == c.
Note that these requirements mean that the trait itself must be implemented
symmetrically and transitively: if T: PartialEq<U> and U: PartialEq<V>
then U: PartialEq<T> and T: PartialEq<V>.
PartialEq only requires the eq method to be implemented; ne is defined
in terms of it by default. Any manual implementation of ne must respect
the rule that eq is a strict inverse of ne; that is, !(a == b) if and
only if a != b.
This trait can be used with #[derive].
Examples
fn main() { let x: u32 = 0; let y: u32 = 1; assert_eq!(x == y, false); assert_eq!(x.eq(&y), false); }let x: u32 = 0; let y: u32 = 1; assert_eq!(x == y, false); assert_eq!(x.eq(&y), false);
Required Methods
fn eq(&self, other: &Rhs) -> bool
This method tests for self and other values to be equal, and is used
by ==.
Provided Methods
fn ne(&self, other: &Rhs) -> bool
This method tests for !=.
Implementors
impl PartialEq for Decodedimpl PartialEq for FullDecodedimpl<'a> PartialEq for Part<'a>impl PartialEq for Signimpl<'a> PartialEq for Decimal<'a>impl<'a> PartialEq for ParseResult<'a>impl PartialEq for ParseFloatErrorimpl PartialEq for FloatErrorKindimpl PartialEq for Big8x3impl PartialEq for Big32x40impl<T: PartialEq> PartialEq for Wrapping<T>impl PartialEq for FpCategoryimpl PartialEq for ParseIntErrorimpl<T: PartialEq + Zeroable> PartialEq for NonZero<T>impl<T: ?Sized> PartialEq for *const Timpl<T: ?Sized> PartialEq for *mut Timpl<Ret> PartialEq for fn() -> Retimpl<Ret> PartialEq for extern "C" fn() -> Retimpl<Ret> PartialEq for unsafe fn() -> Retimpl<Ret> PartialEq for unsafe extern "C" fn() -> Retimpl<Ret, A> PartialEq for fn(A) -> Retimpl<Ret, A> PartialEq for extern "C" fn(A) -> Retimpl<Ret, A> PartialEq for unsafe fn(A) -> Retimpl<Ret, A> PartialEq for unsafe extern "C" fn(A) -> Retimpl<Ret, A, B> PartialEq for fn(A, B) -> Retimpl<Ret, A, B> PartialEq for extern "C" fn(A, B) -> Retimpl<Ret, A, B> PartialEq for unsafe fn(A, B) -> Retimpl<Ret, A, B> PartialEq for unsafe extern "C" fn(A, B) -> Retimpl<Ret, A, B, C> PartialEq for fn(A, B, C) -> Retimpl<Ret, A, B, C> PartialEq for extern "C" fn(A, B, C) -> Retimpl<Ret, A, B, C> PartialEq for unsafe fn(A, B, C) -> Retimpl<Ret, A, B, C> PartialEq for unsafe extern "C" fn(A, B, C) -> Retimpl<Ret, A, B, C, D> PartialEq for fn(A, B, C, D) -> Retimpl<Ret, A, B, C, D> PartialEq for extern "C" fn(A, B, C, D) -> Retimpl<Ret, A, B, C, D> PartialEq for unsafe fn(A, B, C, D) -> Retimpl<Ret, A, B, C, D> PartialEq for unsafe extern "C" fn(A, B, C, D) -> Retimpl<Ret, A, B, C, D, E> PartialEq for fn(A, B, C, D, E) -> Retimpl<Ret, A, B, C, D, E> PartialEq for extern "C" fn(A, B, C, D, E) -> Retimpl<Ret, A, B, C, D, E> PartialEq for unsafe fn(A, B, C, D, E) -> Retimpl<Ret, A, B, C, D, E> PartialEq for unsafe extern "C" fn(A, B, C, D, E) -> Retimpl<Ret, A, B, C, D, E, F> PartialEq for fn(A, B, C, D, E, F) -> Retimpl<Ret, A, B, C, D, E, F> PartialEq for extern "C" fn(A, B, C, D, E, F) -> Retimpl<Ret, A, B, C, D, E, F> PartialEq for unsafe fn(A, B, C, D, E, F) -> Retimpl<Ret, A, B, C, D, E, F> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F) -> Retimpl<Ret, A, B, C, D, E, F, G> PartialEq for fn(A, B, C, D, E, F, G) -> Retimpl<Ret, A, B, C, D, E, F, G> PartialEq for extern "C" fn(A, B, C, D, E, F, G) -> Retimpl<Ret, A, B, C, D, E, F, G> PartialEq for unsafe fn(A, B, C, D, E, F, G) -> Retimpl<Ret, A, B, C, D, E, F, G> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G) -> Retimpl<Ret, A, B, C, D, E, F, G, H> PartialEq for fn(A, B, C, D, E, F, G, H) -> Retimpl<Ret, A, B, C, D, E, F, G, H> PartialEq for extern "C" fn(A, B, C, D, E, F, G, H) -> Retimpl<Ret, A, B, C, D, E, F, G, H> PartialEq for unsafe fn(A, B, C, D, E, F, G, H) -> Retimpl<Ret, A, B, C, D, E, F, G, H> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I> PartialEq for fn(A, B, C, D, E, F, G, H, I) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I> PartialEq for extern "C" fn(A, B, C, D, E, F, G, H, I) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I> PartialEq for unsafe fn(A, B, C, D, E, F, G, H, I) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq for fn(A, B, C, D, E, F, G, H, I, J) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq for extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq for unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq for fn(A, B, C, D, E, F, G, H, I, J, K) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq for unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq for fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq for unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Retimpl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Retimpl<T: ?Sized> PartialEq for PhantomData<T>impl PartialEq for RangeFullimpl<Idx: PartialEq> PartialEq for Range<Idx>impl<Idx: PartialEq> PartialEq for RangeFrom<Idx>impl<Idx: PartialEq> PartialEq for RangeTo<Idx>impl<Idx: PartialEq> PartialEq for RangeInclusive<Idx>impl<Idx: PartialEq> PartialEq for RangeToInclusive<Idx>impl PartialEq for ()impl PartialEq for boolimpl PartialEq for charimpl PartialEq for usizeimpl PartialEq for u8impl PartialEq for u16impl PartialEq for u32impl PartialEq for u64impl PartialEq for isizeimpl PartialEq for i8impl PartialEq for i16impl PartialEq for i32impl PartialEq for i64impl PartialEq for f32impl PartialEq for f64impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b B> for &'a A where A: PartialEq<B>impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b mut B> for &'a mut A where A: PartialEq<B>impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b mut B> for &'a A where A: PartialEq<B>impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b B> for &'a mut A where A: PartialEq<B>impl PartialEq for Orderingimpl PartialEq for TypeIdimpl<'a, 'b, A: Sized, B> PartialEq<[B; 0]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 0]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 0]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 0]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 1]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 1]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 1]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 1]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 2]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 2]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 2]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 2]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 3]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 3]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 3]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 3]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 4]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 4]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 4]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 4]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 5]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 5]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 5]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 5]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 6]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 6]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 6]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 6]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 7]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 7]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 7]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 7]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 8]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 8]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 8]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 8]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 9]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 9]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 9]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 9]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 10]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 10]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 10]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 10]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 11]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 11]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 11]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 11]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 12]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 12]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 12]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 12]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 13]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 13]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 13]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 13]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 14]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 14]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 14]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 14]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 15]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 15]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 15]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 15]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 16]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 16]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 16]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 16]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 17]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 17]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 17]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 17]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 18]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 18]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 18]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 18]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 19]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 19]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 19]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 19]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 20]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 20]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 20]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 20]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 21]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 21]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 21]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 21]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 22]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 22]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 22]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 22]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 23]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 23]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 23]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 23]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 24]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 24]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 24]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 24]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 25]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 25]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 25]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 25]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 26]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 26]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 26]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 26]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 27]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 27]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 27]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 27]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 28]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 28]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 28]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 28]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 29]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 29]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 29]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 29]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 30]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 30]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 30]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 30]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 31]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 31]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 31]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 31]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<[B; 32]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 32]> for [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b [B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 32]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A: Sized, B> PartialEq<&'b mut [B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A: Sized, B> PartialEq<[A; 32]> for &'b mut [B] where B: PartialEq<A>impl<T: PartialEq + Copy> PartialEq for Cell<T>impl PartialEq for BorrowStateimpl<T: ?Sized + PartialEq> PartialEq for RefCell<T>impl<T: PartialEq> PartialEq for Option<T>impl<T: PartialEq, E: PartialEq> PartialEq for Result<T, E>impl<A, B> PartialEq<[B]> for [A] where A: PartialEq<B>impl PartialEq for SearchStepimpl PartialEq for strimpl PartialEq for ParseBoolErrorimpl PartialEq for Utf8Errorimpl PartialEq for Alignmentimpl<A: PartialEq> PartialEq for (A,)impl<A: PartialEq, B: PartialEq> PartialEq for (A, B)impl<A: PartialEq, B: PartialEq, C: PartialEq> PartialEq for (A, B, C)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq for (A, B, C, D)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq> PartialEq for (A, B, C, D, E)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq> PartialEq for (A, B, C, D, E, F)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq> PartialEq for (A, B, C, D, E, F, G)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq> PartialEq for (A, B, C, D, E, F, G, H)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq> PartialEq for (A, B, C, D, E, F, G, H, I)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq> PartialEq for (A, B, C, D, E, F, G, H, I, J)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq, K: PartialEq> PartialEq for (A, B, C, D, E, F, G, H, I, J, K)impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq, K: PartialEq, L: PartialEq> PartialEq for (A, B, C, D, E, F, G, H, I, J, K, L)