Trait bitflags::__core::cmp::Eq
[−]
[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 == b
impliesb == a
; and - transitive:
a == b
andb == c
impliesa == c
.
This property cannot be checked by the compiler, and therefore Eq
implies
PartialEq
, and has no extra methods.
This trait can be used with #[derive]
.
Implementors
impl<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 C: Eq, I: Eq, F: Eq, G: Eq, E: Eq, L: Eq, H: Eq, D: Eq, A: Eq, K: Eq, J: Eq, B: Eq
impl<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 G: Eq, A: Eq, B: Eq, I: Eq, H: Eq, F: Eq, C: Eq, J: Eq, K: Eq, D: Eq, E: Eq
impl<A, B, C, D, E, F, G, H, I, J> Eq for (A, B, C, D, E, F, G, H, I, J) where B: Eq, E: Eq, F: Eq, D: Eq, A: Eq, H: Eq, I: Eq, C: Eq, J: Eq, G: Eq
impl<A, B, C, D, E, F, G, H, I> Eq for (A, B, C, D, E, F, G, H, I) where D: Eq, A: Eq, G: Eq, E: Eq, F: Eq, H: Eq, B: Eq, I: Eq, C: Eq
impl<A, B, C, D, E, F, G, H> Eq for (A, B, C, D, E, F, G, H) where C: Eq, F: Eq, B: Eq, D: Eq, E: Eq, H: Eq, G: Eq, A: Eq
impl<A, B, C, D, E, F, G> Eq for (A, B, C, D, E, F, G) where E: Eq, G: Eq, C: Eq, A: Eq, B: Eq, F: Eq, D: Eq
impl<A, B, C, D, E, F> Eq for (A, B, C, D, E, F) where B: Eq, D: Eq, A: Eq, E: Eq, C: Eq, F: Eq
impl<A, B, C, D, E> Eq for (A, B, C, D, E) where E: Eq, D: Eq, C: Eq, A: Eq, B: Eq
impl<A, B, C, D> Eq for (A, B, C, D) where A: Eq, C: Eq, B: Eq, D: Eq
impl<A, B, C> Eq for (A, B, C) where A: Eq, C: Eq, B: Eq
impl<A, B> Eq for (A, B) where B: Eq, A: Eq
impl<A> Eq for (A,) where A: Eq
impl Eq for str
impl<T> Eq for [T] where T: Eq
impl<T> Eq for [T; 32] where T: Eq
impl<T> Eq for [T; 31] where T: Eq
impl<T> Eq for [T; 30] where T: Eq
impl<T> Eq for [T; 29] where T: Eq
impl<T> Eq for [T; 28] where T: Eq
impl<T> Eq for [T; 27] where T: Eq
impl<T> Eq for [T; 26] where T: Eq
impl<T> Eq for [T; 25] where T: Eq
impl<T> Eq for [T; 24] where T: Eq
impl<T> Eq for [T; 23] where T: Eq
impl<T> Eq for [T; 22] where T: Eq
impl<T> Eq for [T; 21] where T: Eq
impl<T> Eq for [T; 20] where T: Eq
impl<T> Eq for [T; 19] where T: Eq
impl<T> Eq for [T; 18] where T: Eq
impl<T> Eq for [T; 17] where T: Eq
impl<T> Eq for [T; 16] where T: Eq
impl<T> Eq for [T; 15] where T: Eq
impl<T> Eq for [T; 14] where T: Eq
impl<T> Eq for [T; 13] where T: Eq
impl<T> Eq for [T; 12] where T: Eq
impl<T> Eq for [T; 11] where T: Eq
impl<T> Eq for [T; 10] where T: Eq
impl<T> Eq for [T; 9] where T: Eq
impl<T> Eq for [T; 8] where T: Eq
impl<T> Eq for [T; 7] where T: Eq
impl<T> Eq for [T; 6] where T: Eq
impl<T> Eq for [T; 5] where T: Eq
impl<T> Eq for [T; 4] where T: Eq
impl<T> Eq for [T; 3] where T: Eq
impl<T> Eq for [T; 2] where T: Eq
impl<T> Eq for [T; 1] where T: Eq
impl<T> Eq for [T; 0] where T: Eq
impl Eq for i64
impl Eq for i32
impl Eq for i16
impl Eq for i8
impl Eq for isize
impl Eq for u64
impl Eq for u32
impl Eq for u16
impl Eq for u8
impl Eq for usize
impl Eq for char
impl Eq for bool
impl Eq for ()
impl<T> Eq for *mut T where T: ?Sized
impl<T> Eq for *const T where T: ?Sized
impl<T> Eq for Wrapping<T> where T: Eq
impl<T, E> Eq for Result<T, E> where E: Eq, T: Eq
impl<T> Eq for Option<T> where T: Eq
impl<T> Eq for NonZero<T> where T: Zeroable + Eq
impl<T> Eq for PhantomData<T> where T: ?Sized
impl Eq for RangeFull
impl<Idx> Eq for Range<Idx> where Idx: Eq
impl<Idx> Eq for RangeFrom<Idx> where Idx: Eq
impl<Idx> Eq for RangeTo<Idx> where Idx: Eq
impl<Idx> Eq for RangeInclusive<Idx> where Idx: Eq
impl<Idx> Eq for RangeToInclusive<Idx> where Idx: Eq
impl Eq for Ordering
impl Eq for TypeId
impl<T> Eq for Cell<T> where T: Copy + Eq
impl<T> Eq for RefCell<T> where T: Eq + ?Sized
impl Eq for BorrowState
impl Eq for SearchStep
impl Eq for Utf8Error