1.0.0[][src]Trait std::cmp::PartialEq

#[lang = "eq"]
pub trait PartialEq<Rhs = Self> where
    Rhs: ?Sized
{
#[must_use]
fn eq(&self, other: &Rhs) -> bool;
#[must_use]
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):

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>.

Derivable

This trait can be used with #[derive]. When derived on structs, two instances are equal if all fields are equal, and not equal if any fields are not equal. When derived on enums, each variant is equal to itself and not equal to the other variants.

How can I implement PartialEq?

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.

Implementations of PartialEq, PartialOrd, and Ord must agree with each other. It's easy to accidentally make them disagree by deriving some of the traits and manually implementing others.

An example implementation for a domain in which two books are considered the same book if their ISBN matches, even if the formats differ:

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

struct Book {
    isbn: i32,
    format: BookFormat,
}

impl PartialEq for Book {
    fn eq(&self, other: &Book) -> bool {
        self.isbn == other.isbn
    }
}

let b1 = Book { isbn: 3, format: BookFormat::Paperback };
let b2 = Book { isbn: 3, format: BookFormat::Ebook };
let b3 = Book { isbn: 10, format: BookFormat::Paperback };

assert!(b1 == b2);
assert!(b1 != b3);Run

How can I compare two different types?

The type you can compare with is controlled by PartialEq's type parameter. For example, let's tweak our previous code a bit:

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

struct Book {
    isbn: i32,
    format: BookFormat,
}

impl PartialEq<BookFormat> for Book {
    fn eq(&self, other: &BookFormat) -> bool {
        match (&self.format, other) {
           (BookFormat::Paperback, BookFormat::Paperback) => true,
           (BookFormat::Hardback,  BookFormat::Hardback)  => true,
           (BookFormat::Ebook,     BookFormat::Ebook)     => true,
           (_, _) => false,
        }
    }
}

let b1 = Book { isbn: 3, format: BookFormat::Paperback };

assert!(b1 == BookFormat::Paperback);
assert!(b1 != BookFormat::Ebook);Run

By changing impl PartialEq for Book to impl PartialEq<BookFormat> for Book, we've changed what type we can use on the right side of the == operator. This lets us use it in the assert! statements at the bottom.

You can also combine these implementations to let the == operator work with two different types:

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

struct Book {
    isbn: i32,
    format: BookFormat,
}

impl PartialEq<BookFormat> for Book {
    fn eq(&self, other: &BookFormat) -> bool {
        match (&self.format, other) {
           (&BookFormat::Paperback, &BookFormat::Paperback) => true,
           (&BookFormat::Hardback,  &BookFormat::Hardback)  => true,
           (&BookFormat::Ebook,     &BookFormat::Ebook)     => true,
           (_, _) => false,
        }
    }
}

impl PartialEq for Book {
    fn eq(&self, other: &Book) -> bool {
        self.isbn == other.isbn
    }
}

let b1 = Book { isbn: 3, format: BookFormat::Paperback };
let b2 = Book { isbn: 3, format: BookFormat::Ebook };

assert!(b1 == BookFormat::Paperback);
assert!(b1 != BookFormat::Ebook);
assert!(b1 == b2);Run

Examples

let x: u32 = 0;
let y: u32 = 1;

assert_eq!(x == y, false);
assert_eq!(x.eq(&y), false);Run

Required Methods

This method tests for self and other values to be equal, and is used by ==.

Provided Methods

This method tests for !=.

Implementations on Foreign Types

impl<'a> PartialEq<Utf8LossyChunk<'a>> for Utf8LossyChunk<'a>
[src]

Implementors

impl<'a, 'b, A, B> PartialEq<[B; 0]> for [A; 0] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C> PartialEq<extern "C" fn(A, B, C) -> Ret> for extern "C" fn(A, B, C) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<fn(A, B, C, D, E, F, G) -> Ret> for fn(A, B, C, D, E, F, G) -> Ret
[src]

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 7] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 6] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 2]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

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> + ?Sized
[src]

impl<T> PartialEq<ManuallyDrop<T>> for ManuallyDrop<T> where
    T: PartialEq<T> + ?Sized
[src]

impl<Idx> PartialEq<Range<Idx>> for Range<Idx> where
    Idx: PartialEq<Idx>, 
[src]

impl PartialEq<u128> for u128
[src]

impl PartialEq<ParseCharError> for ParseCharError
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 21] where
    A: PartialEq<B>, 
[src]

impl PartialEq<u32> for u32
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 12] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 32] where
    A: PartialEq<B>, 
[src]

impl<Idx> PartialEq<RangeTo<Idx>> for RangeTo<Idx> where
    Idx: PartialEq<Idx>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 3]> for [A; 3] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 13]> for [A; 13] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 7] where
    A: PartialEq<B>, 
[src]

impl PartialEq<i16> for i16
[src]

impl<Ret, A, B> PartialEq<unsafe fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 11] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 11]> for [A; 11] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 30]> for [A; 30] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 4] where
    A: PartialEq<B>, 
[src]

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 3] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 14]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<AllocErr> for AllocErr
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 22] where
    A: PartialEq<B>, 
[src]

impl PartialEq<UnicodeVersion> for UnicodeVersion
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 4] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 21]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<CharTryFromError> for CharTryFromError
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 31] where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<PhantomData<T>> for PhantomData<T> where
    T: ?Sized
[src]

impl<Ret, A, B, C, D, E> PartialEq<fn(A, B, C, D, E) -> Ret> for fn(A, B, C, D, E) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 2]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 21]> for [A; 21] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 8]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 9]> for [A; 9] where
    A: PartialEq<B>, 
[src]

impl PartialEq<CannotReallocInPlace> for CannotReallocInPlace
[src]

impl<'a, 'b, A, B> PartialEq<[B; 6]> for [A; 6] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 16] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 5]> for [A; 5] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 1]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 5] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 20]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 32]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<NonZeroU128> for NonZeroU128
[src]

impl<'a, 'b, A, B> PartialEq<[A; 11]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 5]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 25] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 23]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 4]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<i32> for i32
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 14] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 13]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 8] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E> PartialEq<unsafe fn(A, B, C, D, E) -> Ret> for unsafe fn(A, B, C, D, E) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 32]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<unsafe fn(A, B, C, D, E, F) -> Ret> for unsafe fn(A, B, C, D, E, F) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 3]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 24]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<fn(A, B, C, D, E, F, G, H) -> Ret> for fn(A, B, C, D, E, F, G, H) -> Ret
[src]

impl<Ret, A, B, C, D> PartialEq<fn(A, B, C, D) -> Ret> for fn(A, B, C, D) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B; 18]> for [A; 18] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 8]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 0]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 23] where
    A: PartialEq<B>, 
[src]

impl PartialEq<NonZeroU32> for NonZeroU32
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 21] where
    A: PartialEq<B>, 
[src]

impl PartialEq<()> for ()
[src]

impl<'a, 'b, A, B> PartialEq<[A; 20]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 29] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 10]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E> PartialEq<extern "C" fn(A, B, C, D, E) -> Ret> for extern "C" fn(A, B, C, D, E) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 23]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 18]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 0] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 13]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 1] where
    A: PartialEq<B>, 
[src]

impl PartialEq<i64> for i64
[src]

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> + ?Sized
[src]

impl<T> PartialEq<Wrapping<T>> for Wrapping<T> where
    T: PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 25]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut B> for &'a A where
    A: PartialEq<B> + ?Sized,
    B: ?Sized
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 3] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 16] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 28] where
    A: PartialEq<B>, 
[src]

impl PartialEq<u8> for u8
[src]

impl<Ret, A, B, C> PartialEq<fn(A, B, C) -> Ret> for fn(A, B, C) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 8] where
    A: PartialEq<B>, 
[src]

impl<Idx> PartialEq<RangeToInclusive<Idx>> for RangeToInclusive<Idx> where
    Idx: PartialEq<Idx>, 
[src]

impl PartialEq<SearchStep> for SearchStep
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 26] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 26]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 30] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 16] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 26]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R> where
    R: PartialEq<R>,
    Y: PartialEq<Y>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 2] where
    A: PartialEq<B>, 
[src]

impl<Idx> PartialEq<RangeInclusive<Idx>> for RangeInclusive<Idx> where
    Idx: PartialEq<Idx>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 31] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B; 20]> for [A; 20] where
    A: PartialEq<B>, 
[src]

impl<Idx> PartialEq<RangeFrom<Idx>> for RangeFrom<Idx> where
    Idx: PartialEq<Idx>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 15]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 15]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 24] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 27] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 11] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 12]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 10]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A> PartialEq<unsafe fn(A) -> Ret> for unsafe fn(A) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 20] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 15]> for [A; 15] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 13] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 19]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<T> PartialEq<Discriminant<T>> for Discriminant<T>
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 0]> for &'b [B] where
    B: PartialEq<A>, 
[src]

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 24] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 21]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 15] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D> PartialEq<unsafe extern "C" fn(A, B, C, D, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 15]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 20] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 15] where
    A: PartialEq<B>, 
[src]

impl PartialEq<NonZeroU8> for NonZeroU8
[src]

impl<'a, 'b, A, B> PartialEq<[B; 12]> for [A; 12] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 4]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 22]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 26]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 7] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 32] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 28]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<str> for str
[src]

impl<T> PartialEq<NonNull<T>> for NonNull<T> where
    T: ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 25]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 4]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J) -> Ret
[src]

impl<Ret, A, B, C, D, E> PartialEq<unsafe extern "C" fn(A, B, C, D, E) -> Ret> for unsafe extern "C" fn(A, B, C, D, E) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 0] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 16]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 2] where
    A: PartialEq<B>, 
[src]

impl<A, B, C> PartialEq<(A, B, C)> for (A, B, C) where
    A: PartialEq<A>,
    B: PartialEq<B>,
    C: PartialEq<C> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 31]> for [B] where
    B: PartialEq<A>, 
[src]

impl<T> PartialEq<*mut T> for *mut T where
    T: ?Sized
[src]

impl PartialEq<Duration> for Duration
[src]

impl<T> PartialEq<Reverse<T>> for Reverse<T> where
    T: PartialEq<T>, 
[src]

impl PartialEq<ParseBoolError> for ParseBoolError
[src]

impl<Ret, A, B, C, D, E> PartialEq<extern "C" fn(A, B, C, D, E, ...) -> Ret> for extern "C" fn(A, B, C, D, E, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B; 31]> for [A; 31] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 8]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 1]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 6]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E> PartialEq<unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, ...) -> Ret
[src]

impl PartialEq<f32> for f32
[src]

impl<Ret> PartialEq<unsafe fn() -> Ret> for unsafe fn() -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B; 4]> for [A; 4] where
    A: PartialEq<B>, 
[src]

impl PartialEq<NoneError> for NoneError
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 9] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 27]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 16]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D> PartialEq<extern "C" fn(A, B, C, D) -> Ret> for extern "C" fn(A, B, C, D) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 29]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<i8> for i8
[src]

impl<'a, 'b, A, B> PartialEq<[A; 13]> for [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<NonZeroUsize> for NonZeroUsize
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 27]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 10] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
[src]

impl PartialEq<i128> for i128
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 25] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 7]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 9] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 19] where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<Option<T>> for Option<T> where
    T: PartialEq<T>, 
[src]

impl<Ret> PartialEq<extern "C" fn() -> Ret> for extern "C" fn() -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 17] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 2] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 6] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I> PartialEq<fn(A, B, C, D, E, F, G, H, I) -> Ret> for fn(A, B, C, D, E, F, G, H, I) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 28] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D> PartialEq<unsafe extern "C" fn(A, B, C, D) -> Ret> for unsafe extern "C" fn(A, B, C, D) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 20]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 24]> for [A; 24] where
    A: PartialEq<B>, 
[src]

impl PartialEq<ParseIntError> for ParseIntError
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
[src]

impl<T, E> PartialEq<Result<T, E>> for Result<T, E> where
    E: PartialEq<E>,
    T: PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 2]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 14]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<unsafe fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 29] where
    A: PartialEq<B>, 
[src]

impl PartialEq<isize> for isize
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 19] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 23]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 5] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 19]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 28]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 13] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 24] where
    A: PartialEq<B>, 
[src]

impl<Ret, A> PartialEq<unsafe extern "C" fn(A) -> Ret> for unsafe extern "C" fn(A) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 11]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 28]> for [A; 28] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 26] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 1] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 6] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 31] where
    A: PartialEq<B>, 
[src]

impl<A, B> PartialEq<[B]> for [A] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 19] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 32] where
    A: PartialEq<B>, 
[src]

impl<H> PartialEq<BuildHasherDefault<H>> for BuildHasherDefault<H>
[src]

impl<'a, 'b, A, B> PartialEq<[B; 8]> for [A; 8] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 22] where
    A: PartialEq<B>, 
[src]

impl<Ret, A> PartialEq<extern "C" fn(A) -> Ret> for extern "C" fn(A) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 27] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 30]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 22]> for [A; 22] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 27] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, ...) -> Ret
[src]

impl<Ret, A, B, C> PartialEq<unsafe extern "C" fn(A, B, C) -> Ret> for unsafe extern "C" fn(A, B, C) -> Ret
[src]

impl<Ret, A, B, C> PartialEq<extern "C" fn(A, B, C, ...) -> Ret> for extern "C" fn(A, B, C, ...) -> Ret
[src]

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> + ?Sized
[src]

impl<Ret, A, B, C, D> PartialEq<extern "C" fn(A, B, C, D, ...) -> Ret> for extern "C" fn(A, B, C, D, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 4] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 30] where
    A: PartialEq<B>, 
[src]

impl<A> PartialEq<(A,)> for (A,) where
    A: PartialEq<A> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 6]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 21]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 0]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 25] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 1]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C> PartialEq<unsafe fn(A, B, C) -> Ret> for unsafe fn(A, B, C) -> Ret
[src]

impl PartialEq<!> for !
[src]

impl PartialEq<RangeFull> for RangeFull
[src]

impl<'a, 'b, A, B> PartialEq<[B; 1]> for [A; 1] where
    A: PartialEq<B>, 
[src]

impl PartialEq<ParseFloatError> for ParseFloatError
[src]

impl<'a, 'b, A, B> PartialEq<[A; 7]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 25]> for [A; 25] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 26] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<unsafe fn(A, B, C, D, E, F, G) -> Ret> for unsafe fn(A, B, C, D, E, F, G) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 27]> for [B] where
    B: PartialEq<A>, 
[src]

impl<T> PartialEq<*const T> for *const T where
    T: ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 5]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 6]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<TypeId> for TypeId
[src]

impl PartialEq<char> for char
[src]

impl<T> PartialEq<Bound<T>> for Bound<T> where
    T: PartialEq<T>, 
[src]

impl PartialEq<Layout> for Layout
[src]

impl<'a, 'b, A, B> PartialEq<[A; 12]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret> PartialEq<fn() -> Ret> for fn() -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 10] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 11] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 0] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B> PartialEq<extern "C" fn(A, B, ...) -> Ret> for extern "C" fn(A, B, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 12]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 12] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret> for extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, ...) -> Ret
[src]

impl<Ret, A, B> PartialEq<unsafe extern "C" fn(A, B) -> Ret> for unsafe extern "C" fn(A, B) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 19]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<NonZeroU16> for NonZeroU16
[src]

impl PartialEq<bool> for bool
[src]

impl<'a, 'b, A, B> PartialEq<[A; 31]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 24]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 12] where
    A: PartialEq<B>, 
[src]

impl PartialEq<NonZeroU64> for NonZeroU64
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 22] where
    A: PartialEq<B>, 
[src]

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 13] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 10]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 3] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 29]> for [A; 29] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut B> for &'a mut A where
    A: PartialEq<B> + ?Sized,
    B: ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 9]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 7]> for [A; 7] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 17]> for [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<LayoutErr> for LayoutErr
[src]

impl PartialEq<u16> for u16
[src]

impl<'a, 'b, A, B> PartialEq<[A; 25]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret> PartialEq<unsafe extern "C" fn() -> Ret> for unsafe extern "C" fn() -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 14]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 10]> for [A; 10] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 18] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 29]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 9] where
    A: PartialEq<B>, 
[src]

impl PartialEq<u64> for u64
[src]

impl<'a, 'b, A, B> PartialEq<[A; 5]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<T> PartialEq<Poll<T>> for Poll<T> where
    T: PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 28]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 27]> for [A; 27] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 10] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 32]> for [A; 32] where
    A: PartialEq<B>, 
[src]

impl PartialEq<Utf8Error> for Utf8Error
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 18] where
    A: PartialEq<B>, 
[src]

impl PartialEq<usize> for usize
[src]

impl<'a, 'b, A, B> PartialEq<[A; 32]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 18]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B> PartialEq<unsafe extern "C" fn(A, B, ...) -> Ret> for unsafe extern "C" fn(A, B, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 14] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 19]> for [A; 19] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D> PartialEq<unsafe fn(A, B, C, D) -> Ret> for unsafe fn(A, B, C, D) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 23] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 8] where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<RefCell<T>> for RefCell<T> where
    T: PartialEq<T> + ?Sized
[src]

Panics

Panics if the value in either RefCell is currently borrowed.

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> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 5] where
    A: PartialEq<B>, 
[src]

impl<Ret, A> PartialEq<unsafe extern "C" fn(A, ...) -> Ret> for unsafe extern "C" fn(A, ...) -> Ret
[src]

impl PartialEq<TryFromIntError> for TryFromIntError
[src]

impl<'a, 'b, A, B> PartialEq<[A; 30]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 2]> for [A; 2] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 17]> for [A; 17] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 29]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G) -> Ret
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J> PartialEq<unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret> for unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 30] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 16]> for [A; 16] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 17]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 22]> for [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<fn(A, B, C, D, E, F) -> Ret> for fn(A, B, C, D, E, F) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 31]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B> PartialEq<fn(A, B) -> Ret> for fn(A, B) -> Ret
[src]

impl<Ret, A, B, C> PartialEq<unsafe extern "C" fn(A, B, C, ...) -> Ret> for unsafe extern "C" fn(A, B, C, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B; 26]> for [A; 26] where
    A: PartialEq<B>, 
[src]

impl<Ret, A> PartialEq<fn(A) -> Ret> for fn(A) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[B]> for [A; 14] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 20] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b B> for &'a mut A where
    A: PartialEq<B> + ?Sized,
    B: ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 22]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<FpCategory> for FpCategory
[src]

impl<'a, 'b, A, B> PartialEq<[A; 9]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<A, B> PartialEq<(A, B)> for (A, B) where
    A: PartialEq<A>,
    B: PartialEq<B> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 24]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 23] where
    A: PartialEq<B>, 
[src]

impl<Ret, A, B, C, D, E, F> PartialEq<extern "C" fn(A, B, C, D, E, F) -> Ret> for extern "C" fn(A, B, C, D, E, F) -> Ret
[src]

impl PartialEq<Ordering> for Ordering
[src]

impl<'a, 'b, A, B> PartialEq<[A; 18]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<Error> for Error
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 15] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 17]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl PartialEq<Pinned> for Pinned
[src]

impl<'a, 'b, A, B> PartialEq<[B; 14]> for [A; 14] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 11]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G> PartialEq<extern "C" fn(A, B, C, D, E, F, G) -> Ret> for extern "C" fn(A, B, C, D, E, F, G) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 29] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 17] where
    A: PartialEq<B>, 
[src]

impl PartialEq<f64> for f64
[src]

impl<T> PartialEq<Cell<T>> for Cell<T> where
    T: Copy + PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 21] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b B> for &'a A where
    A: PartialEq<B> + ?Sized,
    B: ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<[A; 3]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for [A; 28] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 16]> for &'b mut [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 1] where
    A: PartialEq<B>, 
[src]

impl<Ret, A> PartialEq<extern "C" fn(A, ...) -> Ret> for extern "C" fn(A, ...) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<[A; 30]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 23]> for [A; 23] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 9]> for [B] where
    B: PartialEq<A>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 18] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 7]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> PartialEq<fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for [A; 17] where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[A; 3]> for &'b [B] where
    B: PartialEq<A>, 
[src]

impl<Ret, A, B> PartialEq<extern "C" fn(A, B) -> Ret> for extern "C" fn(A, B) -> Ret
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 13]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 21]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 30]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 19]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 4]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 20]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 9]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 31]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 1]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 12]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 0]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 1]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 26]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 16]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 10]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 32]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 4]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 22]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 6]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 11]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 21]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 20]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 29]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 8]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 1]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 10]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 18]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 21]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 14]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 13]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 15]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 22]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 14]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 29]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 11]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 3]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 12]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<&'a str> for String
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 14]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 28]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 5]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 20]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 1]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 6]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 16]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 0]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 27]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 29]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<Vec<B>> for Cow<'a, [A]> where
    A: Clone + PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 8]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 30]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 27]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 21]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 32]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 19]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 19]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<K, V> PartialEq<BTreeMap<K, V>> for BTreeMap<K, V> where
    K: PartialEq<K>,
    V: PartialEq<V>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 17]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 17]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 22]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 29]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 17]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 5]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 17]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 8]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 20]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 19]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 19]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 29]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 24]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 2]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 6]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 15]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 27]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 18]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 0]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 32]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 6]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 16]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 28]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 3]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 8]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 25]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 5]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 31]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 30]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 26]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 9]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<Vec<B>> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<Arc<T>> for Arc<T> where
    T: PartialEq<T> + ?Sized
[src]

Equality for two Arcs.

Two Arcs are equal if their inner values are equal.

Examples

use std::sync::Arc;

let five = Arc::new(5);

assert!(five == Arc::new(5));Run

Inequality for two Arcs.

Two Arcs are unequal if their inner values are unequal.

Examples

use std::sync::Arc;

let five = Arc::new(5);

assert!(five != Arc::new(6));Run

impl<'a, 'b, A, B> PartialEq<[B; 15]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<String> for Cow<'a, str>
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 25]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 12]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 22]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 4]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 10]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 18]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 21]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl PartialEq<ParseError> for ParseError
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 16]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 9]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 12]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 6]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 23]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B> where
    B: PartialEq<C> + ToOwned + ?Sized,
    C: ToOwned + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 7]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 11]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 4]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 18]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 10]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<Cow<'a, str>> for str
[src]

impl<'a, 'b, A, B> PartialEq<[B; 17]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 25]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<Cow<'a, str>> for &'b str
[src]

impl<'a, 'b, A, B> PartialEq<[B; 7]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 31]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 27]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 25]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 26]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<Rc<T>> for Rc<T> where
    T: PartialEq<T> + ?Sized
[src]

Equality for two Rcs.

Two Rcs are equal if their inner values are equal.

Examples

use std::rc::Rc;

let five = Rc::new(5);

assert!(five == Rc::new(5));Run

Inequality for two Rcs.

Two Rcs are unequal if their inner values are unequal.

Examples

use std::rc::Rc;

let five = Rc::new(5);

assert!(five != Rc::new(6));Run

impl<'a, 'b, A, B> PartialEq<Vec<B>> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 23]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 11]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 18]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 0]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 32]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 28]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 23]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 0]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 26]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<str> for Cow<'a, str>
[src]

impl<'a, 'b, A, B> PartialEq<[B; 14]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 7]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 13]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 3]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<Box<T>> for Box<T> where
    T: PartialEq<T> + ?Sized
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 7]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 15]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 28]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<str> for String
[src]

impl<A> PartialEq<VecDeque<A>> for VecDeque<A> where
    A: PartialEq<A>, 
[src]

impl<'a, 'b> PartialEq<String> for &'a str
[src]

impl PartialEq<CollectionAllocErr> for CollectionAllocErr
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 23]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 30]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<Cow<'a, str>> for String
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 9]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 12]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 24]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 10]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 27]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Cow<'a, [A]> where
    A: Clone + PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 2]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 2]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 30]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 8]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 13]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 32]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 24]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 25]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 13]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 14]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 5]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 7]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 9]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 28]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 22]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<BTreeSet<T>> for BTreeSet<T> where
    T: PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 11]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 2]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 31]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>
[src]

impl<'a, 'b> PartialEq<String> for str
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B]> for Cow<'a, [A]> where
    A: Clone + PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 16]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<T> PartialEq<LinkedList<T>> for LinkedList<T> where
    T: PartialEq<T>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 3]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 24]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 15]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl PartialEq<String> for String
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 4]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 20]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 23]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 1]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 31]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<&'b [B; 24]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 5]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 3]> for Vec<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 2]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl<'a, 'b, A, B> PartialEq<[B; 26]> for VecDeque<A> where
    A: PartialEq<B>, 
[src]

impl PartialEq for ThreadId
[src]

impl<K, V, S> PartialEq for HashMap<K, V, S> where
    K: Eq + Hash,
    V: PartialEq,
    S: BuildHasher
[src]

impl<T, S> PartialEq for HashSet<T, S> where
    T: Eq + Hash,
    S: BuildHasher
[src]

impl PartialEq for VarError
[src]

impl PartialEq for CString
[src]

impl PartialEq for NulError
[src]

impl PartialEq for FromBytesWithNulError
[src]

impl PartialEq for IntoStringError
[src]

impl PartialEq for CStr
[src]

impl PartialEq for OsString
[src]

impl PartialEq<str> for OsString
[src]

impl PartialEq<OsString> for str
[src]

impl<'a> PartialEq<&'a str> for OsString
[src]

impl<'a> PartialEq<OsString> for &'a str
[src]

impl PartialEq for OsStr
[src]

impl PartialEq<str> for OsStr
[src]

impl PartialEq<OsStr> for str
[src]

impl<'a, 'b> PartialEq<OsStr> for OsString
[src]

impl<'a, 'b> PartialEq<OsString> for OsStr
[src]

impl<'a, 'b> PartialEq<&'a OsStr> for OsString
[src]

impl<'a, 'b> PartialEq<OsString> for &'a OsStr
[src]

impl<'a, 'b> PartialEq<OsStr> for Cow<'a, OsStr>
[src]

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStr
[src]

impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, OsStr>
[src]

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for &'b OsStr
[src]

impl<'a, 'b> PartialEq<OsString> for Cow<'a, OsStr>
[src]

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsString
[src]

impl PartialEq for Permissions
[src]

impl PartialEq for FileType
[src]

impl PartialEq for ErrorKind
[src]

impl PartialEq for SeekFrom
[src]

impl PartialEq for IpAddr
[src]

impl PartialEq for Ipv6MulticastScope
[src]

impl PartialEq for Ipv4Addr
[src]

impl PartialEq<Ipv4Addr> for IpAddr
[src]

impl PartialEq<IpAddr> for Ipv4Addr
[src]

impl PartialEq for Ipv6Addr
[src]

impl PartialEq<IpAddr> for Ipv6Addr
[src]

impl PartialEq<Ipv6Addr> for IpAddr
[src]

impl PartialEq for SocketAddr
[src]

impl PartialEq for SocketAddrV4
[src]

impl PartialEq for SocketAddrV6
[src]

impl PartialEq for AddrParseError
[src]

impl PartialEq for Shutdown
[src]

impl<'a> PartialEq for Prefix<'a>
[src]

impl<'a> PartialEq for PrefixComponent<'a>
[src]

impl<'a> PartialEq for Component<'a>
[src]

impl<'a> PartialEq for Components<'a>
[src]

impl PartialEq for PathBuf
[src]

impl PartialEq for StripPrefixError
[src]

impl PartialEq for Path
[src]

impl<'a, 'b> PartialEq<Path> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for Path
[src]

impl<'a, 'b> PartialEq<&'a Path> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for &'a Path
[src]

impl<'a, 'b> PartialEq<Path> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for Path
[src]

impl<'a, 'b> PartialEq<&'b Path> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b Path
[src]

impl<'a, 'b> PartialEq<PathBuf> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for PathBuf
[src]

impl<'a, 'b> PartialEq<OsStr> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for OsStr
[src]

impl<'a, 'b> PartialEq<&'a OsStr> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for &'a OsStr
[src]

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for Cow<'a, OsStr>
[src]

impl<'a, 'b> PartialEq<OsString> for PathBuf
[src]

impl<'a, 'b> PartialEq<PathBuf> for OsString
[src]

impl<'a, 'b> PartialEq<OsStr> for Path
[src]

impl<'a, 'b> PartialEq<Path> for OsStr
[src]

impl<'a, 'b> PartialEq<&'a OsStr> for Path
[src]

impl<'a, 'b> PartialEq<Path> for &'a OsStr
[src]

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for Path
[src]

impl<'a, 'b> PartialEq<Path> for Cow<'a, OsStr>
[src]

impl<'a, 'b> PartialEq<OsString> for Path
[src]

impl<'a, 'b> PartialEq<Path> for OsString
[src]

impl<'a, 'b> PartialEq<OsStr> for &'a Path
[src]

impl<'a, 'b> PartialEq<&'a Path> for OsStr
[src]

impl<'a, 'b> PartialEq<Cow<'b, OsStr>> for &'a Path
[src]

impl<'a, 'b> PartialEq<&'a Path> for Cow<'b, OsStr>
[src]

impl<'a, 'b> PartialEq<OsString> for &'a Path
[src]

impl<'a, 'b> PartialEq<&'a Path> for OsString
[src]

impl<'a, 'b> PartialEq<OsStr> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsStr
[src]

impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b OsStr
[src]

impl<'a, 'b> PartialEq<OsString> for Cow<'a, Path>
[src]

impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsString
[src]

impl PartialEq for Output
[src]

impl PartialEq for ExitStatus
[src]

impl<T: PartialEq> PartialEq for SendError<T>
[src]

impl PartialEq for RecvError
[src]

impl PartialEq for TryRecvError
[src]

impl PartialEq for RecvTimeoutError
[src]

impl<T: PartialEq> PartialEq for TrySendError<T>
[src]

impl PartialEq for WaitTimeoutResult
[src]

impl PartialEq for Instant
[src]

impl PartialEq for SystemTime
[src]