Trait std::cmp::PartialEq
[−]
[src]
pub trait PartialEq<Rhs = Self> where Rhs: ?Sized {
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
Implementors
impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<(A, B, C, D, E, F, G, H, I, J, K, L)> for (A, B, C, D, E, F, G, H, I, J, K, L) where B: PartialEq<B>, L: PartialEq<L>, A: PartialEq<A>, K: PartialEq<K>, C: PartialEq<C>, F: PartialEq<F>, G: PartialEq<G>, I: PartialEq<I>, J: PartialEq<J>, D: PartialEq<D>, H: PartialEq<H>, E: PartialEq<E>impl<A, B, C, D, E, F, G, H, I, J, K> PartialEq<(A, B, C, D, E, F, G, H, I, J, K)> for (A, B, C, D, E, F, G, H, I, J, K) where E: PartialEq<E>, F: PartialEq<F>, C: PartialEq<C>, K: PartialEq<K>, D: PartialEq<D>, I: PartialEq<I>, J: PartialEq<J>, G: PartialEq<G>, A: PartialEq<A>, H: PartialEq<H>, B: PartialEq<B>impl<A, B, C, D, E, F, G, H, I, J> PartialEq<(A, B, C, D, E, F, G, H, I, J)> for (A, B, C, D, E, F, G, H, I, J) where D: PartialEq<D>, E: PartialEq<E>, H: PartialEq<H>, F: PartialEq<F>, C: PartialEq<C>, I: PartialEq<I>, B: PartialEq<B>, J: PartialEq<J>, A: PartialEq<A>, G: PartialEq<G>impl<A, B, C, D, E, F, G, H, I> PartialEq<(A, B, C, D, E, F, G, H, I)> for (A, B, C, D, E, F, G, H, I) where H: PartialEq<H>, D: PartialEq<D>, C: PartialEq<C>, A: PartialEq<A>, E: PartialEq<E>, G: PartialEq<G>, F: PartialEq<F>, B: PartialEq<B>, I: PartialEq<I>impl<A, B, C, D, E, F, G, H> PartialEq<(A, B, C, D, E, F, G, H)> for (A, B, C, D, E, F, G, H) where E: PartialEq<E>, A: PartialEq<A>, D: PartialEq<D>, H: PartialEq<H>, F: PartialEq<F>, B: PartialEq<B>, C: PartialEq<C>, G: PartialEq<G>impl<A, B, C, D, E, F, G> PartialEq<(A, B, C, D, E, F, G)> for (A, B, C, D, E, F, G) where B: PartialEq<B>, A: PartialEq<A>, F: PartialEq<F>, G: PartialEq<G>, D: PartialEq<D>, C: PartialEq<C>, E: PartialEq<E>impl<A, B, C, D, E, F> PartialEq<(A, B, C, D, E, F)> for (A, B, C, D, E, F) where E: PartialEq<E>, D: PartialEq<D>, B: PartialEq<B>, A: PartialEq<A>, F: PartialEq<F>, C: PartialEq<C>impl<A, B, C, D, E> PartialEq<(A, B, C, D, E)> for (A, B, C, D, E) where C: PartialEq<C>, A: PartialEq<A>, B: PartialEq<B>, D: PartialEq<D>, E: PartialEq<E>impl<A, B, C, D> PartialEq<(A, B, C, D)> for (A, B, C, D) where D: PartialEq<D>, A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>impl<A, B, C> PartialEq<(A, B, C)> for (A, B, C) where A: PartialEq<A>, C: PartialEq<C>, B: PartialEq<B>impl<A, B> PartialEq<(A, B)> for (A, B) where B: PartialEq<B>, A: PartialEq<A>impl<A> PartialEq<(A,)> for (A,) where A: PartialEq<A>impl PartialEq<str> for strimpl<A, B> PartialEq<[B]> for [A] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 32]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 32]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 32]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 32]> for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 31]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 31]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 31]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 31]> for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 30]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 30]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 30]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 30]> for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 29]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 29]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 29]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 29]> for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 28]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 28]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 28]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 28]> for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 27]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 27]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 27]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 27]> for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 26]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 26]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 26]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 26]> for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 25]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 25]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 25]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 25]> for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 24]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 24]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 24]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 24]> for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 23]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 23]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 23]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 23]> for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 22]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 22]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 22]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 22]> for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 21]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 21]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 21]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 21]> for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 20]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 20]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 20]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 20]> for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 19]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 19]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 19]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 19]> for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 18]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 18]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 18]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 18]> for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 17]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 17]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 17]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 17]> for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 16]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 16]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 16]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 16]> for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 15]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 15]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 15]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 15]> for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 14]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 14]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 14]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 14]> for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 13]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 13]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 13]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 13]> for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 12]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 12]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 12]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 12]> for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 11]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 11]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 11]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 11]> for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 10]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 10]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 10]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 10]> for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 9]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 9]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 9]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 9]> for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 8]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 8]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 8]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 8]> for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 7]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 7]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 7]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 7]> for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 6]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 6]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 6]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 6]> for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 5]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 5]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 5]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 5]> for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 4]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 4]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 4]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 4]> for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 3]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 3]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 3]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 3]> for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 2]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 2]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 2]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 2]> for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 1]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 1]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 1]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 1]> for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 0]> for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 0]> for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[A; 0]> for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<[B]> for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 0]> for [A; 0] where A: PartialEq<B>impl PartialEq<TypeId> for TypeIdimpl PartialEq<f64> for f64impl PartialEq<f32> for f32impl PartialEq<i64> for i64impl PartialEq<i32> for i32impl PartialEq<i16> for i16impl PartialEq<i8> for i8impl PartialEq<isize> for isizeimpl PartialEq<u64> for u64impl PartialEq<u32> for u32impl PartialEq<u16> for u16impl PartialEq<u8> for u8impl PartialEq<usize> for usizeimpl PartialEq<char> for charimpl PartialEq<bool> for boolimpl PartialEq<()> for ()impl<T> PartialEq<*mut T> for *mut T where T: ?Sizedimpl<T> PartialEq<*const T> for *const T where T: ?Sizedimpl<T> PartialEq<Cell<T>> for Cell<T> where T: Copy + PartialEq<T>impl<T> PartialEq<RefCell<T>> for RefCell<T> where T: PartialEq<T> + ?Sizedimpl PartialEq<BorrowState> for BorrowStateimpl PartialEq<Ordering> for Orderingimpl<T> PartialEq<PhantomData<T>> for PhantomData<T> where T: ?Sizedimpl PartialEq<RangeFull> for RangeFullimpl<Idx> PartialEq<Range<Idx>> for Range<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq<RangeFrom<Idx>> for RangeFrom<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq<RangeTo<Idx>> for RangeTo<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq<RangeInclusive<Idx>> for RangeInclusive<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq<RangeToInclusive<Idx>> for RangeToInclusive<Idx> where Idx: PartialEq<Idx>impl<T, E> PartialEq<Result<T, E>> for Result<T, E> where E: PartialEq<E>, T: PartialEq<T>impl<T> PartialEq<Option<T>> for Option<T> where T: PartialEq<T>impl<T> PartialEq<Box<T>> for Box<T> where T: PartialEq<T> + ?Sizedimpl<T> PartialEq<Rc<T>> for Rc<T> where T: PartialEq<T> + ?Sizedimpl<'a, 'b, A, B> PartialEq<Vec<B>> for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B]> for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b> PartialEq<String> for Cow<'a, str>impl<'a, 'b> PartialEq<Cow<'a, str>> for &'b strimpl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>impl<'a, 'b> PartialEq<Cow<'a, str>> for strimpl<'a, 'b> PartialEq<str> for Cow<'a, str>impl<'a, 'b> PartialEq<String> for &'a strimpl<'a, 'b> PartialEq<String> for strimpl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B> where B: PartialEq<C> + ToOwned + ?Sized, C: ToOwned + ?Sizedimpl PartialEq<SearchStep> for SearchStepimpl PartialEq<ParseBoolError> for ParseBoolErrorimpl PartialEq<Utf8Error> for Utf8Errorimpl<'a, 'b> PartialEq<Cow<'a, str>> for Stringimpl<'a, 'b> PartialEq<&'a str> for Stringimpl<'a, 'b> PartialEq<str> for Stringimpl PartialEq<String> for Stringimpl PartialEq<ParseError> for ParseErrorimpl<'a, 'b, A, B> PartialEq<&'b [B; 21]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 21]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 20]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 20]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 19]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 19]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 18]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 18]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 17]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 17]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 16]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 16]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 15]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 15]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 14]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 14]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 13]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 13]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 12]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 12]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 11]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 11]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 10]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 10]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 9]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 9]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 8]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 8]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 7]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 7]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 6]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 6]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 5]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 5]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 4]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 4]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 3]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 3]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 2]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 2]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 1]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 1]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 0]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 0]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<Vec<B>> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 24]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 23]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 23]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 22]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 22]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 27]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 26]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 26]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 25]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 25]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 24]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 32]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 28]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 29]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 29]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 32]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 27]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 28]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 31]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 31]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<&'b [B; 30]> for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq<[B; 30]> for Vec<A> where A: PartialEq<B>impl PartialEq<DecodeUtf16Error> for DecodeUtf16Errorimpl PartialEq<FpCategory> for FpCategoryimpl PartialEq<ParseIntError> for ParseIntErrorimpl<T> PartialEq<Wrapping<T>> for Wrapping<T> where T: PartialEq<T>impl PartialEq for LocalKeyStateimpl<T> PartialEq<Bound<T>> for Bound<T> where T: PartialEq<T>impl<K, V> PartialEq<BTreeMap<K, V>> for BTreeMap<K, V> where V: PartialEq<V>, K: PartialEq<K>impl<T> PartialEq<BTreeSet<T>> for BTreeSet<T> where T: PartialEq<T>impl<A> PartialEq<LinkedList<A>> for LinkedList<A> where A: PartialEq<A>impl<A> PartialEq<VecDeque<A>> for VecDeque<A> where A: PartialEq<A>impl<K, V, S> PartialEq for HashMap<K, V, S> where K: Eq + Hash, V: PartialEq, S: BuildHasherimpl<T, S> PartialEq for HashSet<T, S> where T: Eq + Hash, S: BuildHasherimpl PartialEq for VarErrorimpl PartialEq for CStringimpl PartialEq for NulErrorimpl PartialEq for IntoStringErrorimpl PartialEq for CStrimpl PartialEq for OsStringimpl PartialEq<str> for OsStringimpl PartialEq<OsString> for strimpl PartialEq for OsStrimpl PartialEq<str> for OsStrimpl PartialEq<OsStr> for strimpl<'a, 'b> PartialEq<OsStr> for OsStringimpl<'a, 'b> PartialEq<OsString> for OsStrimpl<'a, 'b> PartialEq<&'a OsStr> for OsStringimpl<'a, 'b> PartialEq<OsString> for &'a OsStrimpl<'a, 'b> PartialEq<OsStr> for Cow<'a, OsStr>impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStrimpl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, OsStr>impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for &'b OsStrimpl<'a, 'b> PartialEq<OsString> for Cow<'a, OsStr>impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStringimpl PartialEq for Permissionsimpl PartialEq for FileTypeimpl PartialEq for ErrorKindimpl PartialEq for SeekFromimpl PartialEq for IpAddrimpl PartialEq for Ipv6MulticastScopeimpl PartialEq for Ipv4Addrimpl PartialEq for Ipv6Addrimpl PartialEq for SocketAddrimpl PartialEq for SocketAddrV4impl PartialEq for SocketAddrV6impl PartialEq for AddrParseErrorimpl PartialEq for Shutdownimpl<'a> PartialEq for Prefix<'a>impl<'a> PartialEq for PrefixComponent<'a>impl<'a> PartialEq for Component<'a>impl<'a> PartialEq for Components<'a>impl PartialEq for PathBufimpl PartialEq for StripPrefixErrorimpl PartialEq for Pathimpl<'a, 'b> PartialEq<Path> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for Pathimpl<'a, 'b> PartialEq<&'a Path> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for &'a Pathimpl<'a, 'b> PartialEq<Path> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for Pathimpl<'a, 'b> PartialEq<&'b Path> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b Pathimpl<'a, 'b> PartialEq<PathBuf> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for PathBufimpl<'a, 'b> PartialEq<OsStr> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for OsStrimpl<'a, 'b> PartialEq<&'a OsStr> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for &'a OsStrimpl<'a, 'b> PartialEq<Cow<'a, OsStr>> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for Cow<'a, OsStr>impl<'a, 'b> PartialEq<OsString> for PathBufimpl<'a, 'b> PartialEq<PathBuf> for OsStringimpl<'a, 'b> PartialEq<OsStr> for Pathimpl<'a, 'b> PartialEq<Path> for OsStrimpl<'a, 'b> PartialEq<&'a OsStr> for Pathimpl<'a, 'b> PartialEq<Path> for &'a OsStrimpl<'a, 'b> PartialEq<Cow<'a, OsStr>> for Pathimpl<'a, 'b> PartialEq<Path> for Cow<'a, OsStr>impl<'a, 'b> PartialEq<OsString> for Pathimpl<'a, 'b> PartialEq<Path> for OsStringimpl<'a, 'b> PartialEq<OsStr> for &'a Pathimpl<'a, 'b> PartialEq<&'a Path> for OsStrimpl<'a, 'b> PartialEq<Cow<'b, OsStr>> for &'a Pathimpl<'a, 'b> PartialEq<&'a Path> for Cow<'b, OsStr>impl<'a, 'b> PartialEq<OsString> for &'a Pathimpl<'a, 'b> PartialEq<&'a Path> for OsStringimpl<'a, 'b> PartialEq<OsStr> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsStrimpl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b OsStrimpl<'a, 'b> PartialEq<OsString> for Cow<'a, Path>impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsStringimpl PartialEq for Outputimpl PartialEq for ExitStatusimpl<T> PartialEq<Arc<T>> for Arc<T> where T: PartialEq<T> + ?Sizedimpl<T: PartialEq> PartialEq for SendError<T>impl PartialEq for RecvErrorimpl PartialEq for TryRecvErrorimpl<T: PartialEq> PartialEq for TrySendError<T>impl PartialEq for WaitTimeoutResultimpl PartialEq for Durationimpl PartialEq for Instantimpl PartialEq for SystemTime