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 for (A, B, C, D, E, F, G, H, I, J, K, L) where D: PartialEq<D>, F: PartialEq<F>, K: PartialEq<K>, A: PartialEq<A>, G: PartialEq<G>, I: PartialEq<I>, C: PartialEq<C>, L: PartialEq<L>, B: PartialEq<B>, H: PartialEq<H>, J: PartialEq<J>, E: PartialEq<E>impl<A, B, C, D, E, F, G, H, I, J, K> PartialEq for (A, B, C, D, E, F, G, H, I, J, K) where H: PartialEq<H>, E: PartialEq<E>, C: PartialEq<C>, A: PartialEq<A>, J: PartialEq<J>, D: PartialEq<D>, K: PartialEq<K>, I: PartialEq<I>, B: PartialEq<B>, F: PartialEq<F>, G: PartialEq<G>impl<A, B, C, D, E, F, G, H, I, J> PartialEq for (A, B, C, D, E, F, G, H, I, J) where A: PartialEq<A>, C: PartialEq<C>, J: PartialEq<J>, E: PartialEq<E>, F: PartialEq<F>, I: PartialEq<I>, B: PartialEq<B>, G: PartialEq<G>, D: PartialEq<D>, H: PartialEq<H>impl<A, B, C, D, E, F, G, H, I> PartialEq for (A, B, C, D, E, F, G, H, I) where H: PartialEq<H>, B: PartialEq<B>, G: PartialEq<G>, I: PartialEq<I>, D: PartialEq<D>, C: PartialEq<C>, E: PartialEq<E>, F: PartialEq<F>, A: PartialEq<A>impl<A, B, C, D, E, F, G, H> PartialEq for (A, B, C, D, E, F, G, H) where C: PartialEq<C>, B: PartialEq<B>, E: PartialEq<E>, G: PartialEq<G>, F: PartialEq<F>, A: PartialEq<A>, H: PartialEq<H>, D: PartialEq<D>impl<A, B, C, D, E, F, G> PartialEq for (A, B, C, D, E, F, G) where A: PartialEq<A>, B: PartialEq<B>, E: PartialEq<E>, D: PartialEq<D>, C: PartialEq<C>, G: PartialEq<G>, F: PartialEq<F>impl<A, B, C, D, E, F> PartialEq for (A, B, C, D, E, F) where C: PartialEq<C>, E: PartialEq<E>, A: PartialEq<A>, D: PartialEq<D>, F: PartialEq<F>, B: PartialEq<B>impl<A, B, C, D, E> PartialEq for (A, B, C, D, E) where C: PartialEq<C>, D: PartialEq<D>, B: PartialEq<B>, A: PartialEq<A>, E: PartialEq<E>impl<A, B, C, D> PartialEq for (A, B, C, D) where C: PartialEq<C>, B: PartialEq<B>, A: PartialEq<A>, D: PartialEq<D>impl<A, B, C> PartialEq for (A, B, C) where C: PartialEq<C>, A: PartialEq<A>, B: PartialEq<B>impl<A, B> PartialEq for (A, B) where B: PartialEq<B>, A: PartialEq<A>impl<A> PartialEq for (A,) where A: PartialEq<A>impl PartialEq for strimpl<A, B> PartialEq for [A] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 32] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 31] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 30] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 29] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 28] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 27] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 26] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 25] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 24] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 23] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 22] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 21] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 20] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 19] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 18] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 17] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 16] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 15] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 14] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 13] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 12] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 11] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 10] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 9] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 8] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 7] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 6] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 5] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 4] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 3] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 2] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 1] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b mut [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for &'b [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [B] where B: PartialEq<A>impl<'a, 'b, A, B> PartialEq for [A; 0] where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for [A; 0] where A: PartialEq<B>impl PartialEq for TypeIdimpl PartialEq for f64impl PartialEq for f32impl PartialEq for i64impl PartialEq for i32impl PartialEq for i16impl PartialEq for i8impl PartialEq for isizeimpl PartialEq for u64impl PartialEq for u32impl PartialEq for u16impl PartialEq for u8impl PartialEq for usizeimpl PartialEq for charimpl PartialEq for boolimpl PartialEq for ()impl<T> PartialEq for *mut T where T: ?Sizedimpl<T> PartialEq for *const T where T: ?Sizedimpl<T> PartialEq for Cell<T> where T: Copy + PartialEq<T>impl<T> PartialEq for RefCell<T> where T: PartialEq<T> + ?Sizedimpl PartialEq for BorrowStateimpl PartialEq for Orderingimpl<T> PartialEq for PhantomData<T> where T: ?Sizedimpl PartialEq for RangeFullimpl<Idx> PartialEq for Range<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq for RangeFrom<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq for RangeTo<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq for RangeInclusive<Idx> where Idx: PartialEq<Idx>impl<Idx> PartialEq for RangeToInclusive<Idx> where Idx: PartialEq<Idx>impl<T, E> PartialEq for Result<T, E> where T: PartialEq<T>, E: PartialEq<E>impl<T> PartialEq for Option<T> where T: PartialEq<T>impl<T> PartialEq for Box<T> where T: PartialEq<T> + ?Sizedimpl<T> PartialEq for Rc<T> where T: PartialEq<T> + ?Sizedimpl<'a, 'b, A, B> PartialEq for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b, A, B> PartialEq for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b, A, B> PartialEq for Cow<'a, [A]> where A: Clone + PartialEq<B>impl<'a, 'b> PartialEq for Cow<'a, str>impl<'a, 'b> PartialEq for &'b strimpl<'a, 'b> PartialEq for Cow<'a, str>impl<'a, 'b> PartialEq for strimpl<'a, 'b> PartialEq for Cow<'a, str>impl<'a, 'b> PartialEq for &'a strimpl<'a, 'b> PartialEq for strimpl<'a, 'b, B, C> PartialEq for Cow<'a, B> where C: ToOwned + ?Sized, B: PartialEq<C> + ToOwned + ?Sizedimpl PartialEq for Errorimpl PartialEq for ParseBoolErrorimpl PartialEq for Utf8Errorimpl PartialEq for SearchStepimpl<'a, 'b> PartialEq for Stringimpl<'a, 'b> PartialEq for Stringimpl<'a, 'b> PartialEq for Stringimpl PartialEq for Stringimpl PartialEq for ParseErrorimpl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl<'a, 'b, A, B> PartialEq for Vec<A> where A: PartialEq<B>impl PartialEq for DecodeUtf16Errorimpl PartialEq for FpCategoryimpl PartialEq for ParseIntErrorimpl PartialEq for ParseFloatErrorimpl<T> PartialEq for Wrapping<T> where T: PartialEq<T>impl PartialEq for LocalKeyStateimpl<T> PartialEq for Bound<T> where T: PartialEq<T>impl<K, V> PartialEq for BTreeMap<K, V> where V: PartialEq<V>, K: PartialEq<K>impl<T> PartialEq for BTreeSet<T> where T: PartialEq<T>impl<A> PartialEq for LinkedList<A> where A: PartialEq<A>impl<A> PartialEq 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 for OsStringimpl PartialEq for strimpl PartialEq for OsStrimpl PartialEq for OsStrimpl PartialEq for strimpl<'a, 'b> PartialEq for OsStringimpl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for OsStringimpl<'a, 'b> PartialEq for &'a OsStrimpl<'a, 'b> PartialEq for Cow<'a, OsStr>impl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for Cow<'a, OsStr>impl<'a, 'b> PartialEq for &'b OsStrimpl<'a, 'b> PartialEq for Cow<'a, OsStr>impl<'a, 'b> PartialEq 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 for PathBufimpl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for &'a Pathimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for &'b Pathimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for &'a OsStrimpl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for Cow<'a, OsStr>impl<'a, 'b> PartialEq for PathBufimpl<'a, 'b> PartialEq for OsStringimpl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for &'a OsStrimpl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for Cow<'a, OsStr>impl<'a, 'b> PartialEq for Pathimpl<'a, 'b> PartialEq for OsStringimpl<'a, 'b> PartialEq for &'a Pathimpl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for &'a Pathimpl<'a, 'b> PartialEq for Cow<'b, OsStr>impl<'a, 'b> PartialEq for &'a Pathimpl<'a, 'b> PartialEq for OsStringimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for OsStrimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for &'b OsStrimpl<'a, 'b> PartialEq for Cow<'a, Path>impl<'a, 'b> PartialEq for OsStringimpl PartialEq for Outputimpl PartialEq for ExitStatusimpl<T> PartialEq 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