Trait std::cmp::PartialEqStable
[-]
[+]
[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.
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 PartialEq<FpCategory> for FpCategoryimpl PartialEq<ParseIntError> for ParseIntErrorimpl PartialEq<IntErrorKind> for IntErrorKindimpl PartialEq<ParseFloatError> for ParseFloatErrorimpl PartialEq<FloatErrorKind> for FloatErrorKindimpl<T> PartialEq<NonZero<T>> for NonZero<T> where T: Zeroable, T: PartialEq<T>impl<T> PartialEq<*const T> for *const Timpl<T> PartialEq<*mut T> for *mut Timpl<_R> PartialEq< extern "C" fn() -> _R> for extern "C" fn() -> _Rimpl<_R, A> PartialEq< extern "C" fn(A) -> _R> for extern "C" fn(A) -> _Rimpl<_R, A, B> PartialEq< extern "C" fn(A, B) -> _R> for extern "C" fn(A, B) -> _Rimpl<_R, A, B, C> PartialEq< extern "C" fn(A, B, C) -> _R> for extern "C" fn(A, B, C) -> _Rimpl<_R, A, B, C, D> PartialEq< extern "C" fn(A, B, C, D) -> _R> for extern "C" fn(A, B, C, D) -> _Rimpl<_R, A, B, C, D, E> PartialEq< extern "C" fn(A, B, C, D, E) -> _R> for extern "C" fn(A, B, C, D, E) -> _Rimpl<T> PartialEq<CovariantType<T>> for CovariantType<T> where T: PartialEq<T>, T: ?Sizedimpl<T> PartialEq<ContravariantType<T>> for ContravariantType<T> where T: PartialEq<T>, T: ?Sizedimpl<T> PartialEq<InvariantType<T>> for InvariantType<T> where T: PartialEq<T>, T: ?Sizedimpl<'a> PartialEq<CovariantLifetime<'a>> for CovariantLifetime<'a>impl<'a> PartialEq<ContravariantLifetime<'a>> for ContravariantLifetime<'a>impl<'a> PartialEq<InvariantLifetime<'a>> for InvariantLifetime<'a>impl PartialEq<NoCopy> for NoCopyimpl PartialEq<Managed> for Managedimpl 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 PartialEq<Ordering> for Orderingimpl PartialEq<()> for ()impl PartialEq<bool> for boolimpl PartialEq<char> for charimpl PartialEq<usize> for usizeimpl PartialEq<u8> for u8impl PartialEq<u16> for u16impl PartialEq<u32> for u32impl PartialEq<u64> for u64impl PartialEq<isize> for isizeimpl PartialEq<i8> for i8impl PartialEq<i16> for i16impl PartialEq<i32> for i32impl PartialEq<i64> for i64impl PartialEq<f32> for f32impl PartialEq<f64> for f64impl<'a, 'b, A, B> PartialEq<&'b B> for &'a A where A: PartialEq<B>, A: ?Sized, B: ?Sizedimpl<'a, 'b, A, B> PartialEq<&'b mut B> for &'a mut A where A: PartialEq<B>, A: ?Sized, B: ?Sizedimpl<'a, 'b, A, B> PartialEq<&'b mut B> for &'a A where A: PartialEq<B>, A: ?Sized, B: ?Sizedimpl<'a, 'b, A, B> PartialEq<&'b B> for &'a mut A where A: PartialEq<B>, A: ?Sized, B: ?Sizedimpl PartialEq<TypeId> for TypeIdimpl<'a, 'b, T, U, B, C> PartialEq<Cow<'b, U, C>> for Cow<'a, T, B> where B: PartialEq<C>, B: ToOwned<T>, C: ToOwned<U>, B: ?Sized, C: ?Sizedimpl<T> PartialEq<Cell<T>> for Cell<T> where T: Copy, T: PartialEq<T>impl PartialEq<BorrowState> for BorrowStateimpl<T> PartialEq<RefCell<T>> for RefCell<T> where T: PartialEq<T>impl<T> PartialEq<MinMaxResult<T>> for MinMaxResult<T> where T: PartialEq<T>impl<T> PartialEq<Option<T>> for Option<T> where T: PartialEq<T>impl<T, E> PartialEq<Result<T, E>> for Result<T, E> where T: PartialEq<T>, E: PartialEq<E>impl<A, B> PartialEq<[B]> for [A] where A: PartialEq<B>impl PartialEq<ParseBoolError> for ParseBoolErrorimpl PartialEq<Utf8Error> for Utf8Errorimpl PartialEq<str> for strimpl PartialEq<Binary> for Binaryimpl PartialEq<Octal> for Octalimpl PartialEq<Decimal> for Decimalimpl PartialEq<LowerHex> for LowerHeximpl PartialEq<UpperHex> for UpperHeximpl PartialEq<Radix> for Radiximpl PartialEq<Alignment> for Alignmentimpl<A> PartialEq<(A,)> for (A,) where A: PartialEq<A>impl<A, B> PartialEq<(A, B)> for (A, B) where A: PartialEq<A>, B: PartialEq<B>impl<A, B, C> PartialEq<(A, B, C)> for (A, B, C) where A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>impl<A, B, C, D> PartialEq<(A, B, C, D)> for (A, B, C, D) where A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>impl<A, B, C, D, E> PartialEq<(A, B, C, D, E)> for (A, B, C, D, E) where A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, 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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>, H: PartialEq<H>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>, H: PartialEq<H>, I: PartialEq<I>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>, H: PartialEq<H>, I: PartialEq<I>, J: PartialEq<J>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>, H: PartialEq<H>, I: PartialEq<I>, J: PartialEq<J>, K: PartialEq<K>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 A: PartialEq<A>, B: PartialEq<B>, C: PartialEq<C>, D: PartialEq<D>, E: PartialEq<E>, F: PartialEq<F>, G: PartialEq<G>, H: PartialEq<H>, I: PartialEq<I>, J: PartialEq<J>, K: PartialEq<K>, L: PartialEq<L>impl<A, B> PartialEq<[B; 0]> for [A; 0] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 0] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 0]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 1]> for [A; 1] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 1] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 1]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 2]> for [A; 2] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 2] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 2]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 3]> for [A; 3] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 3] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 3]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 4]> for [A; 4] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 4] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 4]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 5]> for [A; 5] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 5] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 5]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 6]> for [A; 6] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 6] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 6]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 7]> for [A; 7] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 7] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 7]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 8]> for [A; 8] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 8] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 8]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 9]> for [A; 9] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 9] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 9]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 10]> for [A; 10] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 10] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 10]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 11]> for [A; 11] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 11] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 11]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 12]> for [A; 12] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 12] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 12]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 13]> for [A; 13] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 13] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 13]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 14]> for [A; 14] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 14] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 14]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 15]> for [A; 15] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 15] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 15]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 16]> for [A; 16] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 16] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 16]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 17]> for [A; 17] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 17] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 17]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 18]> for [A; 18] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 18] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 18]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 19]> for [A; 19] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 19] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 19]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 20]> for [A; 20] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 20] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 20]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 21]> for [A; 21] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 21] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 21]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 22]> for [A; 22] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 22] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 22]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 23]> for [A; 23] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 23] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 23]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 24]> for [A; 24] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 24] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 24]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 25]> for [A; 25] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 25] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 25]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 26]> for [A; 26] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 26] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 26]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 27]> for [A; 27] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 27] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 27]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 28]> for [A; 28] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 28] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 28]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 29]> for [A; 29] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 29] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 29]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 30]> for [A; 30] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 30] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 30]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 31]> for [A; 31] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 31] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 31]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<A, B> PartialEq<[B; 32]> for [A; 32] where A: PartialEq<B>impl<'a, A, B, Rhs> PartialEq<Rhs> for [A; 32] where A: PartialEq<B>, Rhs: Deref, <Rhs as Deref>::Target == [B]impl<'a, A, B, Lhs> PartialEq<[B; 32]> for Lhs where A: PartialEq<B>, Lhs: Deref, <Lhs as Deref>::Target == [A]impl<T> PartialEq<Box<T>> for Box<T> where T: PartialEq<T>, T: ?Sizedimpl<T> PartialEq<Arc<T>> for Arc<T> where T: PartialEq<T>impl<T> PartialEq<Rc<T>> for Rc<T> where T: PartialEq<T>impl PartialEq<Bitv> for Bitvimpl PartialEq<BitvSet> for BitvSetimpl<K, V> PartialEq<BTreeMap<K, V>> for BTreeMap<K, V> where K: PartialEq<K>, V: PartialEq<V>impl<T> PartialEq<BTreeSet<T>> for BTreeSet<T> where T: PartialEq<T>impl<A> PartialEq<DList<A>> for DList<A> where A: PartialEq<A>impl<E> PartialEq<EnumSet<E>> for EnumSet<E> where E: PartialEq<E>impl<A> PartialEq<RingBuf<A>> for RingBuf<A> where A: PartialEq<A>impl PartialEq<String> for Stringimpl<'a> PartialEq<&'a str> for Stringimpl<'a> PartialEq<String> for &'a strimpl<'a> PartialEq<String> for Cow<'a, String, str>impl<'a> PartialEq<Cow<'a, String, str>> for Stringimpl<'a, 'b> PartialEq<&'b str> for Cow<'a, String, str>impl<'a, 'b> PartialEq<Cow<'a, String, str>> for &'b strimpl<A, B> PartialEq<Vec<B>> for Vec<A> where A: PartialEq<B>impl<'b, A, B> PartialEq<&'b [B]> for Vec<A> where A: PartialEq<B>impl<'b, A, B> PartialEq<Vec<A>> for &'b [B] where B: PartialEq<A>impl<'b, A, B> PartialEq<&'b mut [B]> for Vec<A> where A: PartialEq<B>impl<'b, A, B> PartialEq<Vec<A>> for &'b mut [B] where B: PartialEq<A>impl<'a, A, B> PartialEq<Vec<B>> for Cow<'a, Vec<A>, [A]> where A: PartialEq<B>, A: Cloneimpl<'a, A, B> PartialEq<Cow<'a, Vec<A>, [A]>> for Vec<B> where A: Clone, B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b [B]> for Cow<'a, Vec<A>, [A]> where A: PartialEq<B>, A: Cloneimpl<'a, 'b, A, B> PartialEq<Cow<'a, Vec<A>, [A]>> for &'b [B] where A: Clone, B: PartialEq<A>impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Cow<'a, Vec<A>, [A]> where A: PartialEq<B>, A: Cloneimpl<'a, 'b, A, B> PartialEq<Cow<'a, Vec<A>, [A]>> for &'b mut [B] where A: Clone, B: PartialEq<A>impl<V> PartialEq<VecMap<V>> for VecMap<V> where V: PartialEq<V>impl PartialEq<GraphemeState> for GraphemeStateimpl PartialEq<Utf16Item> for Utf16Itemimpl PartialEq for Stateimpl PartialEq for CStringimpl PartialEq for OsStringimpl PartialEq<str> for OsStringimpl PartialEq<OsString> for strimpl PartialEq for OsStrimpl PartialEq<str> for OsStrimpl PartialEq<OsStr> for strimpl PartialEq for IpAddrimpl PartialEq for SocketAddrimpl PartialEq for ParseErrorimpl PartialEq for ProcessOutputimpl PartialEq for ProcessExitimpl PartialEq for IoErrorimpl PartialEq for IoErrorKindimpl PartialEq for FileModeimpl PartialEq for FileAccessimpl PartialEq for FileTypeimpl PartialEq for FilePermissionimpl PartialEq for VarErrorimpl PartialEq for Pathimpl PartialEq for ParsePathErrorimpl PartialEq for Pathimpl PartialEq for ParsePathErrorimpl PartialEq for PathPrefiximpl PartialEq for Durationimpl<K, V, S, H> PartialEq for HashMap<K, V, S> where K: Eq + Hash<H>, V: PartialEq, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T, S, H> PartialEq for HashSet<T, S> where T: Eq + Hash<H>, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<K, V, S, H> PartialEq for HashMap<K, V, S> where K: Eq + Hash<H>, V: PartialEq, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T, S, H> PartialEq for HashSet<T, S> where T: Eq + Hash<H>, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T: PartialEq> PartialEq for SendError<T>impl PartialEq for RecvErrorimpl PartialEq for TryRecvErrorimpl<T: PartialEq> PartialEq for TrySendError<T>