Trait std::cmp::EqStable
[-]
[+]
[src]
pub trait Eq: PartialEq<Self> { }Trait for equality comparisons which are equivalence relations.
This means, that in addition to a == b and a != b being strict
inverses, the equality must be (for all a, b and c):
- reflexive:
a == a; - symmetric:
a == bimpliesb == a; and - transitive:
a == bandb == cimpliesa == c.
Implementors
impl<T> Eq for NonZero<T> where T: Zeroable, T: Eqimpl<T> Eq for *const Timpl<T> Eq for *mut Timpl<T> Eq for CovariantType<T> where T: Eq, T: ?Sizedimpl<T> Eq for ContravariantType<T> where T: Eq, T: ?Sizedimpl<T> Eq for InvariantType<T> where T: Eq, T: ?Sizedimpl<'a> Eq for CovariantLifetime<'a>impl<'a> Eq for ContravariantLifetime<'a>impl<'a> Eq for InvariantLifetime<'a>impl Eq for NoCopyimpl Eq for Managedimpl Eq for RangeFullimpl<Idx> Eq for Range<Idx> where Idx: Eqimpl<Idx> Eq for RangeFrom<Idx> where Idx: Eqimpl<Idx> Eq for RangeTo<Idx> where Idx: Eqimpl Eq for Orderingimpl Eq for ()impl Eq for boolimpl Eq for charimpl Eq for usizeimpl Eq for u8impl Eq for u16impl Eq for u32impl Eq for u64impl Eq for isizeimpl Eq for i8impl Eq for i16impl Eq for i32impl Eq for i64impl<'a, A> Eq for &'a A where A: Eq, A: ?Sizedimpl<'a, A> Eq for &'a mut A where A: Eq, A: ?Sizedimpl Eq for TypeIdimpl<'a, T, B> Eq for Cow<'a, T, B> where B: Eq, B: ToOwned<T>, B: ?Sizedimpl<T> Eq for Option<T> where T: Eqimpl<T, E> Eq for Result<T, E> where T: Eq, E: Eqimpl<T> Eq for [T] where T: Eqimpl Eq for Utf8Errorimpl Eq for strimpl<A> Eq for (A,) where A: Eqimpl<A, B> Eq for (A, B) where A: Eq, B: Eqimpl<A, B, C> Eq for (A, B, C) where A: Eq, B: Eq, C: Eqimpl<A, B, C, D> Eq for (A, B, C, D) where A: Eq, B: Eq, C: Eq, D: Eqimpl<A, B, C, D, E> Eq for (A, B, C, D, E) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eqimpl<A, B, C, D, E, F> Eq for (A, B, C, D, E, F) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eqimpl<A, B, C, D, E, F, G> Eq for (A, B, C, D, E, F, G) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eqimpl<A, B, C, D, E, F, G, H> Eq for (A, B, C, D, E, F, G, H) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eqimpl<A, B, C, D, E, F, G, H, I> Eq for (A, B, C, D, E, F, G, H, I) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eq, I: Eqimpl<A, B, C, D, E, F, G, H, I, J> Eq for (A, B, C, D, E, F, G, H, I, J) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eq, I: Eq, J: Eqimpl<A, B, C, D, E, F, G, H, I, J, K> Eq for (A, B, C, D, E, F, G, H, I, J, K) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eq, I: Eq, J: Eq, K: Eqimpl<A, B, C, D, E, F, G, H, I, J, K, L> Eq for (A, B, C, D, E, F, G, H, I, J, K, L) where A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq, G: Eq, H: Eq, I: Eq, J: Eq, K: Eq, L: Eqimpl<T> Eq for [T; 0] where T: Eqimpl<T> Eq for [T; 1] where T: Eqimpl<T> Eq for [T; 2] where T: Eqimpl<T> Eq for [T; 3] where T: Eqimpl<T> Eq for [T; 4] where T: Eqimpl<T> Eq for [T; 5] where T: Eqimpl<T> Eq for [T; 6] where T: Eqimpl<T> Eq for [T; 7] where T: Eqimpl<T> Eq for [T; 8] where T: Eqimpl<T> Eq for [T; 9] where T: Eqimpl<T> Eq for [T; 10] where T: Eqimpl<T> Eq for [T; 11] where T: Eqimpl<T> Eq for [T; 12] where T: Eqimpl<T> Eq for [T; 13] where T: Eqimpl<T> Eq for [T; 14] where T: Eqimpl<T> Eq for [T; 15] where T: Eqimpl<T> Eq for [T; 16] where T: Eqimpl<T> Eq for [T; 17] where T: Eqimpl<T> Eq for [T; 18] where T: Eqimpl<T> Eq for [T; 19] where T: Eqimpl<T> Eq for [T; 20] where T: Eqimpl<T> Eq for [T; 21] where T: Eqimpl<T> Eq for [T; 22] where T: Eqimpl<T> Eq for [T; 23] where T: Eqimpl<T> Eq for [T; 24] where T: Eqimpl<T> Eq for [T; 25] where T: Eqimpl<T> Eq for [T; 26] where T: Eqimpl<T> Eq for [T; 27] where T: Eqimpl<T> Eq for [T; 28] where T: Eqimpl<T> Eq for [T; 29] where T: Eqimpl<T> Eq for [T; 30] where T: Eqimpl<T> Eq for [T; 31] where T: Eqimpl<T> Eq for [T; 32] where T: Eqimpl<T> Eq for Box<T> where T: Eq, T: ?Sizedimpl<T> Eq for Arc<T> where T: Eqimpl<T> Eq for Rc<T> where T: Eqimpl Eq for Bitvimpl Eq for BitvSetimpl<K, V> Eq for BTreeMap<K, V> where K: Eq, V: Eqimpl<T> Eq for BTreeSet<T> where T: Eqimpl<A> Eq for DList<A> where A: Eqimpl<E> Eq for EnumSet<E> where E: Eqimpl<A> Eq for RingBuf<A> where A: Eqimpl Eq for Stringimpl<T> Eq for Vec<T> where T: Eqimpl<V> Eq for VecMap<V> where V: Eqimpl Eq for GraphemeStateimpl Eq for Utf16Itemimpl Eq for Stateimpl Eq for CStringimpl Eq for OsStringimpl Eq for OsStrimpl Eq for IpAddrimpl Eq for SocketAddrimpl Eq for ProcessOutputimpl Eq for ProcessExitimpl Eq for IoErrorimpl Eq for IoErrorKindimpl Eq for FileModeimpl Eq for FileAccessimpl Eq for FilePermissionimpl Eq for VarErrorimpl Eq for Pathimpl Eq for Pathimpl Eq for Durationimpl<K, V, S, H> Eq for HashMap<K, V, S> where K: Eq + Hash<H>, V: Eq, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T, S, H> Eq for HashSet<T, S> where T: Eq + Hash<H>, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<K, V, S, H> Eq for HashMap<K, V, S> where K: Eq + Hash<H>, V: Eq, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T, S, H> Eq for HashSet<T, S> where T: Eq + Hash<H>, S: HashState<Hasher=H>, H: Hasher<Output=u64>impl<T: Eq> Eq for SendError<T>impl Eq for RecvErrorimpl Eq for TryRecvErrorimpl<T: Eq> Eq for TrySendError<T>