1.0.0[−][src]Trait cron::lib::std::cmp::PartialEq
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>.
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: &Self) -> 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);
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:
// The derive implements <BookFormat> == <BookFormat> comparisons #[derive(PartialEq)] enum BookFormat { Paperback, Hardback, Ebook, } struct Book { isbn: i32, format: BookFormat, } // Implement <Book> == <BookFormat> comparisons impl PartialEq<BookFormat> for Book { fn eq(&self, other: &BookFormat) -> bool { self.format == *other } } // Implement <BookFormat> == <Book> comparisons impl PartialEq<Book> for BookFormat { fn eq(&self, other: &Book) -> bool { *self == other.format } } let b1 = Book { isbn: 3, format: BookFormat::Paperback }; assert!(b1 == BookFormat::Paperback); assert!(BookFormat::Ebook != b1);
By changing impl PartialEq for Book to impl PartialEq<BookFormat> for Book,
we allow BookFormats to be compared with Books.
A comparison like the one above, which ignores some fields of the struct,
can be dangerous. It can easily lead to an unintended violation of the
requirements for a partial equivalence relation. For example, if we kept
the above implementation of PartialEq<Book> for BookFormat and added an
implementation of PartialEq<Book> for Book (either via a #[derive] or
via the manual implementation from the first example) then the result would
violate transitivity:
#[derive(PartialEq)] enum BookFormat { Paperback, Hardback, Ebook, } #[derive(PartialEq)] struct Book { isbn: i32, format: BookFormat, } impl PartialEq<BookFormat> for Book { fn eq(&self, other: &BookFormat) -> bool { self.format == *other } } impl PartialEq<Book> for BookFormat { fn eq(&self, other: &Book) -> bool { *self == other.format } } fn main() { let b1 = Book { isbn: 1, format: BookFormat::Paperback }; let b2 = Book { isbn: 2, format: BookFormat::Paperback }; assert!(b1 == BookFormat::Paperback); assert!(BookFormat::Paperback == b2); // The following should hold by transitivity but doesn't. assert!(b1 == b2); // <-- PANICS }
Examples
let x: u32 = 0; let y: u32 = 1; assert_eq!(x == y, false); assert_eq!(x.eq(&y), false);
Required methods
#[must_use]fn eq(&self, other: &Rhs) -> bool
This method tests for self and other values to be equal, and is used
by ==.
Provided methods
Loading content...Implementations on Foreign Types
impl PartialEq<FromBytesWithNulError> for FromBytesWithNulError[src]
fn eq(&self, other: &FromBytesWithNulError) -> bool[src]
fn ne(&self, other: &FromBytesWithNulError) -> bool[src]
impl PartialEq<Output> for Output[src]
impl<'a, 'b> PartialEq<PathBuf> for Path[src]
impl<'a, 'b> PartialEq<Path> for Cow<'a, Path>[src]
impl PartialEq<CString> for CString[src]
impl PartialEq<NulError> for NulError[src]
impl<'a, 'b> PartialEq<Cow<'b, OsStr>> for &'a Path[src]
impl PartialEq<RecvError> for RecvError[src]
impl<'a, 'b> PartialEq<OsString> for Path[src]
impl PartialEq<VarError> for VarError[src]
impl<'a, 'b> PartialEq<Path> for OsStr[src]
impl PartialEq<IntoStringError> for IntoStringError[src]
fn eq(&self, other: &IntoStringError) -> bool[src]
fn ne(&self, other: &IntoStringError) -> bool[src]
impl PartialEq<RecvTimeoutError> for RecvTimeoutError[src]
fn eq(&self, other: &RecvTimeoutError) -> bool[src]
impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for PathBuf[src]
impl<'a> PartialEq<PrefixComponent<'a>> for PrefixComponent<'a>[src]
fn eq(&self, other: &PrefixComponent<'a>) -> bool[src]
impl PartialEq<SocketAddrV4> for SocketAddr[src]
fn eq(&self, other: &SocketAddrV4) -> bool[src]
impl PartialEq<SocketAddr> for SocketAddrV6[src]
fn eq(&self, other: &SocketAddr) -> bool[src]
impl PartialEq<OsString> for str[src]
impl<'a> PartialEq<Prefix<'a>> for Prefix<'a>[src]
impl PartialEq<SystemTime> for SystemTime[src]
fn eq(&self, other: &SystemTime) -> bool[src]
fn ne(&self, other: &SystemTime) -> bool[src]
impl<'a, 'b> PartialEq<PathBuf> for OsStr[src]
impl<'a> PartialEq<Component<'a>> for Component<'a>[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b OsStr[src]
impl<'a, 'b> PartialEq<OsString> for Cow<'a, OsStr>[src]
impl<'a, 'b> PartialEq<Path> for &'a OsStr[src]
impl PartialEq<OsStr> for OsStr[src]
impl<'a, 'b> PartialEq<OsString> for &'a OsStr[src]
impl<'a, 'b> PartialEq<PathBuf> for &'a Path[src]
impl<'a, 'b> PartialEq<&'a Path> for OsString[src]
impl<'a, 'b> PartialEq<&'a OsStr> for OsString[src]
impl<'a, 'b> PartialEq<PathBuf> for Cow<'a, OsStr>[src]
impl PartialEq<StripPrefixError> for StripPrefixError[src]
fn eq(&self, other: &StripPrefixError) -> bool[src]
fn ne(&self, other: &StripPrefixError) -> bool[src]
impl PartialEq<OsString> for OsString[src]
impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsString[src]
impl PartialEq<TryRecvError> for TryRecvError[src]
fn eq(&self, other: &TryRecvError) -> bool[src]
impl PartialEq<Path> for Path[src]
impl PartialEq<IpAddr> for IpAddr[src]
impl PartialEq<Ipv6MulticastScope> for Ipv6MulticastScope[src]
fn eq(&self, other: &Ipv6MulticastScope) -> bool[src]
impl PartialEq<SocketAddr> for SocketAddr[src]
fn eq(&self, other: &SocketAddr) -> bool[src]
fn ne(&self, other: &SocketAddr) -> bool[src]
impl PartialEq<AccessError> for AccessError[src]
fn eq(&self, other: &AccessError) -> bool[src]
fn ne(&self, other: &AccessError) -> bool[src]
impl PartialEq<Ipv6Addr> for Ipv6Addr[src]
impl<'a, 'b> PartialEq<OsStr> for &'a Path[src]
impl<'a> PartialEq<Components<'a>> for Components<'a>[src]
fn eq(&self, other: &Components<'a>) -> bool[src]
impl PartialEq<WaitTimeoutResult> for WaitTimeoutResult[src]
fn eq(&self, other: &WaitTimeoutResult) -> bool[src]
fn ne(&self, other: &WaitTimeoutResult) -> bool[src]
impl<'a, 'b> PartialEq<OsString> for PathBuf[src]
impl<'a, 'b> PartialEq<&'a Path> for PathBuf[src]
impl PartialEq<IpAddr> for Ipv4Addr[src]
impl<'a, 'b> PartialEq<OsString> for Cow<'a, Path>[src]
impl<'_> PartialEq<&'_ str> for OsString[src]
impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStr[src]
impl PartialEq<Ipv4Addr> for Ipv4Addr[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for Path[src]
impl PartialEq<OsStr> for str[src]
impl PartialEq<Shutdown> for Shutdown[src]
impl PartialEq<SocketAddr> for SocketAddrV4[src]
fn eq(&self, other: &SocketAddr) -> bool[src]
impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for Path[src]
impl PartialEq<SeekFrom> for SeekFrom[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsString[src]
impl<'a, 'b> PartialEq<PathBuf> for Cow<'a, Path>[src]
impl PartialEq<PathBuf> for PathBuf[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for PathBuf[src]
impl<'a, 'b> PartialEq<OsStr> for PathBuf[src]
impl PartialEq<Permissions> for Permissions[src]
fn eq(&self, other: &Permissions) -> bool[src]
fn ne(&self, other: &Permissions) -> bool[src]
impl<'a, 'b> PartialEq<&'a OsStr> for Path[src]
impl PartialEq<CStr> for CStr[src]
impl PartialEq<ErrorKind> for ErrorKind[src]
impl<'a, 'b> PartialEq<&'a Path> for OsStr[src]
impl<'a, 'b> PartialEq<OsStr> for Cow<'a, OsStr>[src]
impl<'a, 'b> PartialEq<&'b Path> for Cow<'a, Path>[src]
impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for &'b OsStr[src]
impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, Path>[src]
impl PartialEq<Ipv6Addr> for IpAddr[src]
impl<'a, 'b> PartialEq<PathBuf> for &'a OsStr[src]
impl<'a, 'b> PartialEq<Path> for OsString[src]
impl<'a, 'b> PartialEq<OsString> for &'a Path[src]
impl<'a, 'b> PartialEq<OsStr> for Path[src]
impl PartialEq<SocketAddrV6> for SocketAddr[src]
fn eq(&self, other: &SocketAddrV6) -> bool[src]
impl PartialEq<SocketAddrV4> for SocketAddrV4[src]
fn eq(&self, other: &SocketAddrV4) -> bool[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for OsStr[src]
impl<'a, 'b> PartialEq<Path> for PathBuf[src]
impl PartialEq<SocketAddrV6> for SocketAddrV6[src]
fn eq(&self, other: &SocketAddrV6) -> bool[src]
impl<'a, 'b> PartialEq<&'a Path> for Cow<'b, OsStr>[src]
impl PartialEq<str> for OsString[src]
impl PartialEq<Instant> for Instant[src]
impl PartialEq<IpAddr> for Ipv6Addr[src]
impl<T> PartialEq<TrySendError<T>> for TrySendError<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
fn eq(&self, other: &TrySendError<T>) -> bool[src]
fn ne(&self, other: &TrySendError<T>) -> bool[src]
impl<'a, 'b> PartialEq<PathBuf> for OsString[src]
impl PartialEq<Ipv4Addr> for IpAddr[src]
impl PartialEq<FileType> for FileType[src]
impl<T> PartialEq<SendError<T>> for SendError<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<'a, 'b> PartialEq<OsStr> for OsString[src]
impl PartialEq<BacktraceStatus> for BacktraceStatus[src]
fn eq(&self, other: &BacktraceStatus) -> bool[src]
impl PartialEq<str> for OsStr[src]
impl PartialEq<ThreadId> for ThreadId[src]
impl PartialEq<ExitStatus> for ExitStatus[src]
fn eq(&self, other: &ExitStatus) -> bool[src]
fn ne(&self, other: &ExitStatus) -> bool[src]
impl<'a, 'b> PartialEq<OsStr> for Cow<'a, Path>[src]
impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, OsStr>[src]
impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b Path[src]
impl<'a, 'b> PartialEq<Path> for Cow<'a, OsStr>[src]
impl PartialEq<AddrParseError> for AddrParseError[src]
fn eq(&self, other: &AddrParseError) -> bool[src]
fn ne(&self, other: &AddrParseError) -> bool[src]
impl<T> PartialEq<Cursor<T>> for Cursor<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<'a, 'b> PartialEq<OsString> for OsStr[src]
impl<'a> PartialEq<OsString> for &'a str[src]
impl<'a, 'b> PartialEq<&'a OsStr> for PathBuf[src]
impl PartialEq<NonZeroIsize> for NonZeroIsize[src]
fn eq(&self, other: &NonZeroIsize) -> bool[src]
fn ne(&self, other: &NonZeroIsize) -> bool[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]
fn eq(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
) -> bool[src]
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, L, ...) -> Ret
) -> bool
impl<'_, '_, A, B> PartialEq<&'_ mut B> for &'_ A where
A: PartialEq<B> + ?Sized,
B: ?Sized, [src]
A: PartialEq<B> + ?Sized,
B: ?Sized,
impl<'b, const N: usize, A, B> PartialEq<&'b [B]> for [A; N] where
A: PartialEq<B>,
[A; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[A; N]: LengthAtMost32,
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 PartialEq<NonZeroU16> for NonZeroU16[src]
fn eq(&self, other: &NonZeroU16) -> bool[src]
fn ne(&self, other: &NonZeroU16) -> bool[src]
impl PartialEq<NonZeroI8> for NonZeroI8[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 PartialEq<NonZeroU128> for NonZeroU128[src]
fn eq(&self, other: &NonZeroU128) -> bool[src]
fn ne(&self, other: &NonZeroU128) -> bool[src]
impl<T> PartialEq<Poll<T>> for Poll<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl PartialEq<NonZeroUsize> for NonZeroUsize[src]
fn eq(&self, other: &NonZeroUsize) -> bool[src]
fn ne(&self, other: &NonZeroUsize) -> bool[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]
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,
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool[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<Ret, A> PartialEq<extern "C" fn(A) -> Ret> for extern "C" fn(A) -> Ret[src]
impl PartialEq<i64> for i64[src]
impl<T> PartialEq<NonNull<T>> for NonNull<T> where
T: ?Sized, [src]
T: ?Sized,
impl PartialEq<RawWakerVTable> for RawWakerVTable[src]
fn eq(&self, other: &RawWakerVTable) -> bool[src]
fn ne(&self, other: &RawWakerVTable) -> bool[src]
impl PartialEq<TryFromIntError> for TryFromIntError[src]
fn eq(&self, other: &TryFromIntError) -> bool[src]
fn ne(&self, other: &TryFromIntError) -> bool[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<Ret, A, B> PartialEq<unsafe fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret[src]
impl PartialEq<FpCategory> for FpCategory[src]
fn eq(&self, other: &FpCategory) -> bool[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<T> PartialEq<Cell<T>> for Cell<T> where
T: PartialEq<T> + Copy, [src]
T: PartialEq<T> + Copy,
impl PartialEq<u64> for u64[src]
impl PartialEq<usize> for usize[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, 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]
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F>,
G: PartialEq<G> + ?Sized,
fn eq(&self, other: &(A, B, C, D, E, F, G)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G)) -> bool[src]
impl<Ret, A, B> PartialEq<unsafe extern "C" fn(A, B, ...) -> Ret> for unsafe extern "C" fn(A, B, ...) -> Ret[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 PartialEq<NonZeroI16> for NonZeroI16[src]
fn eq(&self, other: &NonZeroI16) -> bool[src]
fn ne(&self, other: &NonZeroI16) -> bool[src]
impl<const N: usize, A, B> PartialEq<[B; N]> for [A; N] where
A: PartialEq<B>,
[A; N]: LengthAtMost32,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[A; N]: LengthAtMost32,
[B; N]: LengthAtMost32,
impl PartialEq<!> for ![src]
impl<Ret> PartialEq<unsafe extern "C" fn() -> Ret> for unsafe extern "C" fn() -> 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]
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E> + ?Sized,
fn eq(&self, other: &(A, B, C, D, E)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E)) -> bool[src]
impl PartialEq<NonZeroU32> for NonZeroU32[src]
fn eq(&self, other: &NonZeroU32) -> bool[src]
fn ne(&self, other: &NonZeroU32) -> bool[src]
impl PartialEq<ParseFloatError> for ParseFloatError[src]
fn eq(&self, other: &ParseFloatError) -> bool[src]
fn ne(&self, other: &ParseFloatError) -> bool[src]
impl<T> PartialEq<*mut T> for *mut T where
T: ?Sized, [src]
T: ?Sized,
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]
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,
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool[src]
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error[src]
fn eq(&self, other: &DecodeUtf16Error) -> bool[src]
fn ne(&self, other: &DecodeUtf16Error) -> bool[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 PartialEq<RawWaker> for RawWaker[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]
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
E: PartialEq<E>,
F: PartialEq<F> + ?Sized,
fn eq(&self, other: &(A, B, C, D, E, F)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F)) -> bool[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 PartialEq<()> for ()[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 PartialEq<f32> for f32[src]
impl PartialEq<NonZeroU8> for NonZeroU8[src]
impl PartialEq<ParseIntError> for ParseIntError[src]
fn eq(&self, other: &ParseIntError) -> bool[src]
fn ne(&self, other: &ParseIntError) -> bool[src]
impl<'b, const N: usize, A, B> PartialEq<[A; N]> for &'b mut [B] where
B: PartialEq<A>,
[A; N]: LengthAtMost32, [src]
B: PartialEq<A>,
[A; N]: LengthAtMost32,
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<Ret, A, B, C> PartialEq<unsafe extern "C" fn(A, B, C, ...) -> Ret> for unsafe extern "C" fn(A, B, C, ...) -> Ret[src]
impl PartialEq<NonZeroI128> for NonZeroI128[src]
fn eq(&self, other: &NonZeroI128) -> bool[src]
fn ne(&self, other: &NonZeroI128) -> bool[src]
impl<'_, '_, A, B> PartialEq<&'_ mut B> for &'_ mut A where
A: PartialEq<B> + ?Sized,
B: ?Sized, [src]
A: PartialEq<B> + ?Sized,
B: ?Sized,
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]
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,
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool[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<'b, const N: usize, A, B> PartialEq<&'b mut [B]> for [A; N] where
A: PartialEq<B>,
[A; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[A; N]: LengthAtMost32,
fn eq(&self, other: &&'b mut [B]) -> bool[src]
fn ne(&self, other: &&'b mut [B]) -> bool[src]
impl PartialEq<NonZeroU64> for NonZeroU64[src]
fn eq(&self, other: &NonZeroU64) -> bool[src]
fn ne(&self, other: &NonZeroU64) -> bool[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<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, 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<extern "C" fn(A, B, C) -> Ret> for extern "C" fn(A, B, C) -> Ret[src]
impl PartialEq<f64> for f64[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 PartialEq<char> for char[src]
impl PartialEq<u16> for u16[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> PartialEq<unsafe fn(A) -> Ret> for unsafe fn(A) -> Ret[src]
impl<Ret, A, B, C, D> PartialEq<fn(A, B, C, D) -> Ret> for fn(A, B, C, D) -> 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 PartialEq<i128> for i128[src]
impl<'_, '_, A, B> PartialEq<&'_ B> for &'_ A where
A: PartialEq<B> + ?Sized,
B: ?Sized, [src]
A: PartialEq<B> + ?Sized,
B: ?Sized,
impl<A, B> PartialEq<[B]> for [A] where
A: PartialEq<B>, [src]
A: PartialEq<B>,
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, 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]
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D> + ?Sized,
impl PartialEq<AllocInit> for AllocInit[src]
impl<Ret, A, B> PartialEq<extern "C" fn(A, B) -> Ret> for extern "C" fn(A, B) -> Ret[src]
impl PartialEq<PhantomPinned> for PhantomPinned[src]
fn eq(&self, other: &PhantomPinned) -> bool[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<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]
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,
fn eq(&self, other: &(A, B, C, D, E, F, G, H)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G, H)) -> bool[src]
impl<T> PartialEq<*const T> for *const T where
T: ?Sized, [src]
T: ?Sized,
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<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 PartialEq<bool> for bool[src]
impl PartialEq<IntErrorKind> for IntErrorKind[src]
fn eq(&self, other: &IntErrorKind) -> bool[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<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<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> PartialEq<unsafe fn(A, B, C, D, E) -> Ret> for unsafe fn(A, B, C, D, E) -> Ret[src]
impl<const N: usize, A, B> PartialEq<[A; N]> for [B] where
B: PartialEq<A>,
[A; N]: LengthAtMost32, [src]
B: PartialEq<A>,
[A; N]: LengthAtMost32,
impl PartialEq<NonZeroI32> for NonZeroI32[src]
fn eq(&self, other: &NonZeroI32) -> bool[src]
fn ne(&self, other: &NonZeroI32) -> bool[src]
impl<Ret> PartialEq<extern "C" fn() -> Ret> for extern "C" fn() -> Ret[src]
impl<'a> PartialEq<Utf8LossyChunk<'a>> for Utf8LossyChunk<'a>[src]
fn eq(&self, other: &Utf8LossyChunk<'a>) -> bool[src]
fn ne(&self, other: &Utf8LossyChunk<'a>) -> bool[src]
impl PartialEq<i16> for i16[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 PartialEq<TypeId> for TypeId[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<Ret, A> PartialEq<extern "C" fn(A, ...) -> Ret> for extern "C" fn(A, ...) -> 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<Ret> PartialEq<fn() -> Ret> for fn() -> Ret[src]
impl PartialEq<CpuidResult> for CpuidResult[src]
fn eq(&self, other: &CpuidResult) -> bool[src]
fn ne(&self, other: &CpuidResult) -> bool[src]
impl<Ret, A, B, C> PartialEq<unsafe fn(A, B, C) -> Ret> for unsafe fn(A, B, C) -> Ret[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]
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,
fn eq(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool[src]
fn ne(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool[src]
impl PartialEq<i32> for i32[src]
impl<T> PartialEq<PhantomData<T>> for PhantomData<T> where
T: ?Sized, [src]
T: ?Sized,
fn eq(&self, _other: &PhantomData<T>) -> bool[src]
impl<T> PartialEq<Wrapping<T>> for Wrapping<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<Ret, A, B> PartialEq<fn(A, B) -> Ret> for fn(A, B) -> 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<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 PartialEq<Duration> for Duration[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<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<Ret> PartialEq<unsafe fn() -> Ret> for unsafe fn() -> Ret[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> PartialEq<fn(A) -> Ret> for fn(A) -> Ret[src]
impl<Ret, A> PartialEq<unsafe extern "C" fn(A, ...) -> Ret> for unsafe extern "C" fn(A, ...) -> Ret[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 PartialEq<ParseCharError> for ParseCharError[src]
fn eq(&self, other: &ParseCharError) -> bool[src]
fn ne(&self, other: &ParseCharError) -> bool[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]
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C> + ?Sized,
impl PartialEq<str> for str[src]
impl<'b, const N: usize, A, B> PartialEq<[A; N]> for &'b [B] where
B: PartialEq<A>,
[A; N]: LengthAtMost32, [src]
B: PartialEq<A>,
[A; N]: LengthAtMost32,
impl PartialEq<AllocErr> for AllocErr[src]
impl PartialEq<CharTryFromError> for CharTryFromError[src]
fn eq(&self, other: &CharTryFromError) -> bool[src]
fn ne(&self, other: &CharTryFromError) -> bool[src]
impl<Ret, A, B, C> PartialEq<fn(A, B, C) -> Ret> for fn(A, B, C) -> Ret[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<Ret, A, B> PartialEq<extern "C" fn(A, B, ...) -> Ret> for extern "C" fn(A, B, ...) -> Ret[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<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]
fn eq(
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
) -> bool[src]
&self,
other: &unsafe extern "C" fn(A, B, C, D, E, F, G, H, I, J, K, ...) -> Ret
) -> bool
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 PartialEq<ReallocPlacement> for ReallocPlacement[src]
fn eq(&self, other: &ReallocPlacement) -> bool[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<'_, '_, A, B> PartialEq<&'_ B> for &'_ mut A where
A: PartialEq<B> + ?Sized,
B: ?Sized, [src]
A: PartialEq<B> + ?Sized,
B: ?Sized,
impl PartialEq<u128> for u128[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<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 PartialEq<u32> for u32[src]
impl PartialEq<isize> for isize[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<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 PartialEq<NonZeroI64> for NonZeroI64[src]
fn eq(&self, other: &NonZeroI64) -> bool[src]
fn ne(&self, other: &NonZeroI64) -> bool[src]
impl PartialEq<u8> for u8[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> 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<const N: usize, A, B> PartialEq<[B]> for [A; N] where
A: PartialEq<B>,
[A; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[A; N]: LengthAtMost32,
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<T> PartialEq<RefCell<T>> for RefCell<T> where
T: PartialEq<T> + ?Sized, [src]
T: PartialEq<T> + ?Sized,
fn eq(&self, other: &RefCell<T>) -> bool[src]
Panics
Panics if the value in either RefCell is currently borrowed.
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<Ret, A> PartialEq<unsafe extern "C" fn(A) -> Ret> for unsafe extern "C" fn(A) -> Ret[src]
impl<P, Q> PartialEq<Pin<Q>> for Pin<P> where
P: Deref,
Q: Deref,
<P as Deref>::Target: PartialEq<<Q as Deref>::Target>, [src]
P: Deref,
Q: Deref,
<P as Deref>::Target: PartialEq<<Q as Deref>::Target>,
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<i8> for i8[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 PartialEq<LayoutErr> for LayoutErr[src]
impl PartialEq<Ordering> for Ordering[src]
impl PartialEq<Layout> for Layout[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> PartialEq<(A, B)> for (A, B) where
A: PartialEq<A>,
B: PartialEq<B> + ?Sized, [src]
A: PartialEq<A>,
B: PartialEq<B> + ?Sized,
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<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> PartialEq<(A,)> for (A,) where
A: PartialEq<A> + ?Sized, [src]
A: PartialEq<A> + ?Sized,
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> PartialEq<&'_ mut [B]> for Cow<'_, [A]> where
A: PartialEq<B> + Clone, [src]
A: PartialEq<B> + Clone,
impl<'a, 'b> PartialEq<Cow<'a, str>> for str[src]
impl<'_, '_, A, B> PartialEq<&'_ [B]> for Cow<'_, [A]> where
A: PartialEq<B> + Clone, [src]
A: PartialEq<B> + Clone,
impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>[src]
impl<'a, 'b> PartialEq<String> for &'a str[src]
impl<'a, 'b> PartialEq<String> for Cow<'a, str>[src]
impl<'a, 'b> PartialEq<str> for Cow<'a, str>[src]
impl<'a, 'b> PartialEq<Cow<'a, str>> for &'b str[src]
impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B> where
B: PartialEq<C> + ToOwned + ?Sized,
C: ToOwned + ?Sized, [src]
B: PartialEq<C> + ToOwned + ?Sized,
C: ToOwned + ?Sized,
impl<'_, A, B> PartialEq<Vec<B>> for Cow<'_, [A]> where
A: PartialEq<B> + Clone, [src]
A: PartialEq<B> + Clone,
impl<T> PartialEq<Rc<T>> for Rc<T> where
T: PartialEq<T> + ?Sized, [src]
T: PartialEq<T> + ?Sized,
fn eq(&self, other: &Rc<T>) -> bool[src]
Equality for two Rcs.
Two Rcs are equal if their inner values are equal, even if they are
stored in different allocation.
If T also implements Eq (implying reflexivity of equality),
two Rcs that point to the same allocation are
always equal.
Examples
use std::rc::Rc; let five = Rc::new(5); assert!(five == Rc::new(5));
fn ne(&self, other: &Rc<T>) -> bool[src]
Inequality for two Rcs.
Two Rcs are unequal if their inner values are unequal.
If T also implements Eq (implying reflexivity of equality),
two Rcs that point to the same allocation are
never unequal.
Examples
use std::rc::Rc; let five = Rc::new(5); assert!(five != Rc::new(6));
impl<T> PartialEq<Arc<T>> for Arc<T> where
T: PartialEq<T> + ?Sized, [src]
T: PartialEq<T> + ?Sized,
fn eq(&self, other: &Arc<T>) -> bool[src]
Equality for two Arcs.
Two Arcs are equal if their inner values are equal, even if they are
stored in different allocation.
If T also implements Eq (implying reflexivity of equality),
two Arcs that point to the same allocation are always equal.
Examples
use std::sync::Arc; let five = Arc::new(5); assert!(five == Arc::new(5));
fn ne(&self, other: &Arc<T>) -> bool[src]
Inequality for two Arcs.
Two Arcs are unequal if their inner values are unequal.
If T also implements Eq (implying reflexivity of equality),
two Arcs that point to the same value are never unequal.
Examples
use std::sync::Arc; let five = Arc::new(5); assert!(five != Arc::new(6));
impl<'a, 'b> PartialEq<String> for str[src]
impl PartialEq<_Unwind_Reason_Code> for _Unwind_Reason_Code
impl PartialEq<_Unwind_Action> for _Unwind_Action
impl PartialEq<PrintFmt> for PrintFmt[src]
impl PartialEq<CollectionAllocErr> for CollectionAllocErr
impl<T, S> PartialEq<HashSet<T, S>> for HashSet<T, S> where
S: BuildHasher,
T: Eq + Hash,
S: BuildHasher,
T: Eq + Hash,
impl<K, V, S> PartialEq<HashMap<K, V, S>> for HashMap<K, V, S> where
K: Eq + Hash,
S: BuildHasher,
V: PartialEq<V>,
K: Eq + Hash,
S: BuildHasher,
V: PartialEq<V>,
impl PartialEq<SteadyTime> for SteadyTime[src]
fn eq(&self, other: &SteadyTime) -> bool[src]
fn ne(&self, other: &SteadyTime) -> bool[src]
impl PartialEq<Timespec> for Timespec[src]
impl PartialEq<ParseError> for ParseError[src]
fn eq(&self, other: &ParseError) -> bool[src]
fn ne(&self, other: &ParseError) -> bool[src]
impl PartialEq<OutOfRangeError> for OutOfRangeError[src]
fn eq(&self, other: &OutOfRangeError) -> bool[src]
fn ne(&self, other: &OutOfRangeError) -> bool[src]
impl PartialEq<Tm> for Tm[src]
impl<A> PartialEq<ExtendedGcd<A>> for ExtendedGcd<A> where
A: PartialEq<A>, [src]
A: PartialEq<A>,
fn eq(&self, other: &ExtendedGcd<A>) -> bool[src]
fn ne(&self, other: &ExtendedGcd<A>) -> bool[src]
impl PartialEq<PrintFmt> for PrintFmt[src]
impl PartialEq<LittleEndian> for LittleEndian
impl<T> PartialEq<ArangeEntry<T>> for ArangeEntry<T> where
T: PartialEq<T> + Copy,
T: PartialEq<T> + Copy,
impl PartialEq<DwEhPe> for DwEhPe
impl PartialEq<DwIdx> for DwIdx
impl PartialEq<DwMacro> for DwMacro
impl<R> PartialEq<UnwindContext<R>> for UnwindContext<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<R> PartialEq<EhFrame<R>> for EhFrame<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<T> PartialEq<DebugMacroOffset<T>> for DebugMacroOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl PartialEq<Range> for Range
impl PartialEq<Value> for Value
impl PartialEq<SectionId> for SectionId
impl PartialEq<DwUt> for DwUt
impl<'bases, Section, R> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R> where
R: PartialEq<R> + Reader,
Section: PartialEq<Section> + UnwindSection<R>,
<R as Reader>::Offset: PartialEq<<R as Reader>::Offset>,
<Section as UnwindSection<R>>::Offset: PartialEq<<Section as UnwindSection<R>>::Offset>,
R: PartialEq<R> + Reader,
Section: PartialEq<Section> + UnwindSection<R>,
<R as Reader>::Offset: PartialEq<<R as Reader>::Offset>,
<Section as UnwindSection<R>>::Offset: PartialEq<<Section as UnwindSection<R>>::Offset>,
fn eq(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
fn ne(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
impl PartialEq<DwVis> for DwVis
impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<R, Offset> PartialEq<CompleteLineProgram<R, Offset>> for CompleteLineProgram<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &CompleteLineProgram<R, Offset>) -> bool
fn ne(&self, other: &CompleteLineProgram<R, Offset>) -> bool
impl<R> PartialEq<RegisterRule<R>> for RegisterRule<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl PartialEq<DwDefaulted> for DwDefaulted
impl PartialEq<DwVirtuality> for DwVirtuality
impl PartialEq<DwRle> for DwRle
impl<T> PartialEq<LocationListsOffset<T>> for LocationListsOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &LocationListsOffset<T>) -> bool
fn ne(&self, other: &LocationListsOffset<T>) -> bool
impl<R> PartialEq<CallFrameInstruction<R>> for CallFrameInstruction<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
fn eq(&self, other: &CallFrameInstruction<R>) -> bool
fn ne(&self, other: &CallFrameInstruction<R>) -> bool
impl PartialEq<DwLnct> for DwLnct
impl<T> PartialEq<DebugInfoOffset<T>> for DebugInfoOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<R> PartialEq<Expression<R>> for Expression<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<T> PartialEq<UnitOffset<T>> for UnitOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<R, Offset> PartialEq<LineInstruction<R, Offset>> for LineInstruction<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &LineInstruction<R, Offset>) -> bool
fn ne(&self, other: &LineInstruction<R, Offset>) -> bool
impl PartialEq<Error> for Error
impl<R, Offset> PartialEq<Location<R, Offset>> for Location<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
impl<R, Offset> PartialEq<UnitHeader<R, Offset>> for UnitHeader<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &UnitHeader<R, Offset>) -> bool
fn ne(&self, other: &UnitHeader<R, Offset>) -> bool
impl PartialEq<DwCc> for DwCc
impl<T> PartialEq<DebugAbbrevOffset<T>> for DebugAbbrevOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugAbbrevOffset<T>) -> bool
fn ne(&self, other: &DebugAbbrevOffset<T>) -> bool
impl<T> PartialEq<DebugStrOffsetsIndex<T>> for DebugStrOffsetsIndex<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugStrOffsetsIndex<T>) -> bool
fn ne(&self, other: &DebugStrOffsetsIndex<T>) -> bool
impl PartialEq<Abbreviation> for Abbreviation
impl PartialEq<DebugTypeSignature> for DebugTypeSignature
impl<T> PartialEq<DebugLocListsIndex<T>> for DebugLocListsIndex<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugLocListsIndex<T>) -> bool
fn ne(&self, other: &DebugLocListsIndex<T>) -> bool
impl PartialEq<DwAt> for DwAt
impl PartialEq<DwAddr> for DwAddr
impl PartialEq<DwForm> for DwForm
impl<R> PartialEq<DebugFrame<R>> for DebugFrame<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl PartialEq<Pointer> for Pointer
impl<R> PartialEq<UnwindTableRow<R>> for UnwindTableRow<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<'bases, Section, R> PartialEq<CieOrFde<'bases, Section, R>> for CieOrFde<'bases, Section, R> where
R: PartialEq<R> + Reader,
Section: PartialEq<Section> + UnwindSection<R>,
R: PartialEq<R> + Reader,
Section: PartialEq<Section> + UnwindSection<R>,
fn eq(&self, other: &CieOrFde<'bases, Section, R>) -> bool
fn ne(&self, other: &CieOrFde<'bases, Section, R>) -> bool
impl PartialEq<Format> for Format
impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
fn eq(&self, other: &SectionBaseAddresses) -> bool
fn ne(&self, other: &SectionBaseAddresses) -> bool
impl<R> PartialEq<CfaRule<R>> for CfaRule<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl PartialEq<DwLle> for DwLle
impl<R, Offset> PartialEq<IncompleteLineProgram<R, Offset>> for IncompleteLineProgram<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &IncompleteLineProgram<R, Offset>) -> bool
fn ne(&self, other: &IncompleteLineProgram<R, Offset>) -> bool
impl<T> PartialEq<DebugLineOffset<T>> for DebugLineOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<R, Offset> PartialEq<TypeUnitHeader<R, Offset>> for TypeUnitHeader<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &TypeUnitHeader<R, Offset>) -> bool
fn ne(&self, other: &TypeUnitHeader<R, Offset>) -> bool
impl<R, Offset> PartialEq<Piece<R, Offset>> for Piece<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
impl<R, Offset> PartialEq<CommonInformationEntry<R, Offset>> for CommonInformationEntry<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &CommonInformationEntry<R, Offset>) -> bool
fn ne(&self, other: &CommonInformationEntry<R, Offset>) -> bool
impl<T> PartialEq<DebugLocListsBase<T>> for DebugLocListsBase<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugLocListsBase<T>) -> bool
fn ne(&self, other: &DebugLocListsBase<T>) -> bool
impl<'input, Endian> PartialEq<EndianSlice<'input, Endian>> for EndianSlice<'input, Endian> where
Endian: PartialEq<Endian> + Endianity,
Endian: PartialEq<Endian> + Endianity,
fn eq(&self, other: &EndianSlice<'input, Endian>) -> bool
fn ne(&self, other: &EndianSlice<'input, Endian>) -> bool
impl PartialEq<DwAccess> for DwAccess
impl<T> PartialEq<DebugRngListsBase<T>> for DebugRngListsBase<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugRngListsBase<T>) -> bool
fn ne(&self, other: &DebugRngListsBase<T>) -> bool
impl<T> PartialEq<DebugAddrBase<T>> for DebugAddrBase<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl PartialEq<Augmentation> for Augmentation
impl<T> PartialEq<DebugStrOffsetsBase<T>> for DebugStrOffsetsBase<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugStrOffsetsBase<T>) -> bool
fn ne(&self, other: &DebugStrOffsetsBase<T>) -> bool
impl PartialEq<ColumnType> for ColumnType
impl PartialEq<DwLns> for DwLns
impl PartialEq<DwOp> for DwOp
impl<R> PartialEq<EvaluationResult<R>> for EvaluationResult<R> where
R: Reader + PartialEq<R>,
<R as Reader>::Offset: PartialEq<<R as Reader>::Offset>,
R: Reader + PartialEq<R>,
<R as Reader>::Offset: PartialEq<<R as Reader>::Offset>,
impl PartialEq<ReaderOffsetId> for ReaderOffsetId
impl<R, Offset> PartialEq<CompilationUnitHeader<R, Offset>> for CompilationUnitHeader<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &CompilationUnitHeader<R, Offset>) -> bool
fn ne(&self, other: &CompilationUnitHeader<R, Offset>) -> bool
impl PartialEq<DwOrd> for DwOrd
impl<R, Offset> PartialEq<FrameDescriptionEntry<R, Offset>> for FrameDescriptionEntry<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &FrameDescriptionEntry<R, Offset>) -> bool
fn ne(&self, other: &FrameDescriptionEntry<R, Offset>) -> bool
impl PartialEq<DwLang> for DwLang
impl<R, Offset> PartialEq<FileEntry<R, Offset>> for FileEntry<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &FileEntry<R, Offset>) -> bool
fn ne(&self, other: &FileEntry<R, Offset>) -> bool
impl<T> PartialEq<DebugRngListsIndex<T>> for DebugRngListsIndex<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugRngListsIndex<T>) -> bool
fn ne(&self, other: &DebugRngListsIndex<T>) -> bool
impl<T> PartialEq<RangeListsOffset<T>> for RangeListsOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl PartialEq<DwId> for DwId
impl PartialEq<DwDs> for DwDs
impl<T> PartialEq<UnitSectionOffset<T>> for UnitSectionOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &UnitSectionOffset<T>) -> bool
fn ne(&self, other: &UnitSectionOffset<T>) -> bool
impl<T> PartialEq<DebugStrOffset<T>> for DebugStrOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl PartialEq<DwInl> for DwInl
impl PartialEq<RunTimeEndian> for RunTimeEndian
impl PartialEq<DwEnd> for DwEnd
impl<T> PartialEq<DebugFrameOffset<T>> for DebugFrameOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<T> PartialEq<DebugTypesOffset<T>> for DebugTypesOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl PartialEq<DwLne> for DwLne
impl PartialEq<DwAte> for DwAte
impl PartialEq<ValueType> for ValueType
impl PartialEq<DwTag> for DwTag
impl<R> PartialEq<Attribute<R>> for Attribute<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
impl<T> PartialEq<DebugMacinfoOffset<T>> for DebugMacinfoOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugMacinfoOffset<T>) -> bool
fn ne(&self, other: &DebugMacinfoOffset<T>) -> bool
impl PartialEq<FileEntryFormat> for FileEntryFormat
impl PartialEq<LineEncoding> for LineEncoding
impl<R, Offset> PartialEq<Operation<R, Offset>> for Operation<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &Operation<R, Offset>) -> bool
fn ne(&self, other: &Operation<R, Offset>) -> bool
impl PartialEq<Encoding> for Encoding
impl PartialEq<LineRow> for LineRow
impl<T> PartialEq<DieReference<T>> for DieReference<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<R> PartialEq<LocationListEntry<R>> for LocationListEntry<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
fn eq(&self, other: &LocationListEntry<R>) -> bool
fn ne(&self, other: &LocationListEntry<R>) -> bool
impl<T> PartialEq<EhFrameOffset<T>> for EhFrameOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<T> PartialEq<DebugAddrIndex<T>> for DebugAddrIndex<T> where
T: PartialEq<T>,
T: PartialEq<T>,
impl<T> PartialEq<DebugLineStrOffset<T>> for DebugLineStrOffset<T> where
T: PartialEq<T>,
T: PartialEq<T>,
fn eq(&self, other: &DebugLineStrOffset<T>) -> bool
fn ne(&self, other: &DebugLineStrOffset<T>) -> bool
impl PartialEq<AttributeSpecification> for AttributeSpecification
fn eq(&self, other: &AttributeSpecification) -> bool
fn ne(&self, other: &AttributeSpecification) -> bool
impl PartialEq<DwCfa> for DwCfa
impl PartialEq<Register> for Register
impl<R, Offset> PartialEq<LineProgramHeader<R, Offset>> for LineProgramHeader<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &LineProgramHeader<R, Offset>) -> bool
fn ne(&self, other: &LineProgramHeader<R, Offset>) -> bool
impl<R, Offset> PartialEq<AttributeValue<R, Offset>> for AttributeValue<R, Offset> where
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
Offset: PartialEq<Offset> + ReaderOffset,
R: PartialEq<R> + Reader<Offset = Offset>,
fn eq(&self, other: &AttributeValue<R, Offset>) -> bool
fn ne(&self, other: &AttributeValue<R, Offset>) -> bool
impl PartialEq<DwDsc> for DwDsc
impl PartialEq<DwChildren> for DwChildren
impl PartialEq<BigEndian> for BigEndian
impl PartialEq<BaseAddresses> for BaseAddresses
impl<E> PartialEq<U64<E>> for U64<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl PartialEq<RelocationTarget> for RelocationTarget
impl PartialEq<SymbolIndex> for SymbolIndex
impl PartialEq<CompressionFormat> for CompressionFormat
impl PartialEq<LittleEndian> for LittleEndian
impl<Section> PartialEq<SymbolFlags<Section>> for SymbolFlags<Section> where
Section: PartialEq<Section>,
Section: PartialEq<Section>,
fn eq(&self, other: &SymbolFlags<Section>) -> bool
fn ne(&self, other: &SymbolFlags<Section>) -> bool
impl PartialEq<SectionKind> for SectionKind
impl PartialEq<SymbolScope> for SymbolScope
impl<E> PartialEq<I16<E>> for I16<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl<'data> PartialEq<Bytes<'data>> for Bytes<'data>
impl<E> PartialEq<U16Bytes<E>> for U16Bytes<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl PartialEq<SymbolSection> for SymbolSection
impl PartialEq<AddressSize> for AddressSize
impl<E> PartialEq<I64<E>> for I64<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl<E> PartialEq<U32<E>> for U32<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl PartialEq<Endianness> for Endianness
impl PartialEq<FileFlags> for FileFlags
impl PartialEq<RelocationKind> for RelocationKind
impl PartialEq<SectionFlags> for SectionFlags
impl<E> PartialEq<I32<E>> for I32<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl<'data> PartialEq<CompressedData<'data>> for CompressedData<'data>
fn eq(&self, other: &CompressedData<'data>) -> bool
fn ne(&self, other: &CompressedData<'data>) -> bool
impl<E> PartialEq<U64Bytes<E>> for U64Bytes<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl PartialEq<Error> for Error
impl PartialEq<BinaryFormat> for BinaryFormat
impl PartialEq<SymbolKind> for SymbolKind
impl PartialEq<BigEndian> for BigEndian
impl PartialEq<SectionIndex> for SectionIndex
impl PartialEq<RelocationEncoding> for RelocationEncoding
impl PartialEq<Architecture> for Architecture
impl<E> PartialEq<U32Bytes<E>> for U32Bytes<E> where
E: Endian + PartialEq<E>,
E: Endian + PartialEq<E>,
impl<E> PartialEq<U16<E>> for U16<E> where
E: Endian + PartialEq<E>,
Loading content...
E: Endian + PartialEq<E>,
Implementors
impl PartialEq<CompareResult> for CompareResult[src]
fn eq(&self, other: &CompareResult) -> bool[src]
impl PartialEq<Endianness> for cron::Endianness[src]
fn eq(&self, other: &Endianness) -> bool[src]
impl PartialEq<Needed> for Needed[src]
impl PartialEq<SecondsFormat> for SecondsFormat[src]
fn eq(&self, other: &SecondsFormat) -> bool[src]
impl PartialEq<Weekday> for Weekday[src]
impl PartialEq<Fixed> for Fixed[src]
impl PartialEq<Numeric> for Numeric[src]
impl PartialEq<Pad> for Pad[src]
impl PartialEq<Ordering> for cron::lib::std::cmp::Ordering[src]
impl PartialEq<TryReserveError> for TryReserveError[src]
fn eq(&self, other: &TryReserveError) -> bool[src]
fn ne(&self, other: &TryReserveError) -> bool[src]
impl PartialEq<Infallible> for Infallible[src]
fn eq(&self, &Infallible) -> bool[src]
impl PartialEq<SearchStep> for SearchStep[src]
fn eq(&self, other: &SearchStep) -> bool[src]
fn ne(&self, other: &SearchStep) -> bool[src]
impl PartialEq<InternalFixed> for InternalFixed[src]
fn eq(&self, other: &InternalFixed) -> bool[src]
fn ne(&self, other: &InternalFixed) -> bool[src]
impl PartialEq<InternalNumeric> for InternalNumeric[src]
fn eq(&self, _other: &InternalNumeric) -> bool[src]
impl PartialEq<Parsed> for Parsed[src]
impl PartialEq<Error> for cron::lib::std::fmt::Error[src]
impl PartialEq<RangeFull> for RangeFull[src]
impl PartialEq<NoneError> for NoneError[src]
impl PartialEq<ParseBoolError> for ParseBoolError[src]
fn eq(&self, other: &ParseBoolError) -> bool[src]
fn ne(&self, other: &ParseBoolError) -> bool[src]
impl PartialEq<Utf8Error> for Utf8Error[src]
impl PartialEq<FromUtf8Error> for FromUtf8Error[src]
fn eq(&self, other: &FromUtf8Error) -> bool[src]
fn ne(&self, other: &FromUtf8Error) -> bool[src]
impl PartialEq<String> for String[src]
impl PartialEq<Duration> for cron::Duration[src]
impl PartialEq<FixedOffset> for FixedOffset[src]
fn eq(&self, other: &FixedOffset) -> bool[src]
fn ne(&self, other: &FixedOffset) -> bool[src]
impl PartialEq<IsoWeek> for IsoWeek[src]
impl PartialEq<NaiveDate> for NaiveDate[src]
impl PartialEq<NaiveDateTime> for NaiveDateTime[src]
fn eq(&self, other: &NaiveDateTime) -> bool[src]
fn ne(&self, other: &NaiveDateTime) -> bool[src]
impl PartialEq<NaiveTime> for NaiveTime[src]
impl PartialEq<ParseError> for cron::ParseError[src]
fn eq(&self, other: &ParseError) -> bool[src]
fn ne(&self, other: &ParseError) -> bool[src]
impl PartialEq<ParseWeekdayError> for ParseWeekdayError[src]
fn eq(&self, other: &ParseWeekdayError) -> bool[src]
fn ne(&self, other: &ParseWeekdayError) -> bool[src]
impl PartialEq<Utc> for Utc[src]
impl<'_, A, B> PartialEq<&'_ [B]> for VecDeque<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<'_, A, B> PartialEq<&'_ [B]> for Vec<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<'_, A, B> PartialEq<&'_ mut [B]> for VecDeque<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<'_, A, B> PartialEq<&'_ mut [B]> for Vec<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<'_, const N: usize, A, B> PartialEq<&'_ [B; N]> for VecDeque<A> where
A: PartialEq<B>,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[B; N]: LengthAtMost32,
impl<'_, const N: usize, A, B> PartialEq<&'_ [B; N]> for Vec<A> where
A: PartialEq<B>,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[B; N]: LengthAtMost32,
impl<'_, const N: usize, A, B> PartialEq<&'_ mut [B; N]> for VecDeque<A> where
A: PartialEq<B>,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[B; N]: LengthAtMost32,
impl<'a> PartialEq<Item<'a>> for Item<'a>[src]
impl<'a> PartialEq<CompleteByteSlice<'a>> for CompleteByteSlice<'a>[src]
fn eq(&self, other: &CompleteByteSlice<'a>) -> bool[src]
fn ne(&self, other: &CompleteByteSlice<'a>) -> bool[src]
impl<'a> PartialEq<CompleteStr<'a>> for CompleteStr<'a>[src]
fn eq(&self, other: &CompleteStr<'a>) -> bool[src]
fn ne(&self, other: &CompleteStr<'a>) -> bool[src]
impl<'a, 'b> PartialEq<&'a str> for String[src]
impl<'a, 'b> PartialEq<Cow<'a, str>> for String[src]
impl<'a, 'b> PartialEq<str> for String[src]
impl<A> PartialEq<VecDeque<A>> for VecDeque<A> where
A: PartialEq<A>, [src]
A: PartialEq<A>,
impl<A, B> PartialEq<Vec<B>> for VecDeque<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<A, B> PartialEq<Vec<B>> for Vec<A> where
A: PartialEq<B>, [src]
A: PartialEq<B>,
impl<E> PartialEq<ErrorKind<E>> for cron::ErrorKind<E> where
E: PartialEq<E>, [src]
E: PartialEq<E>,
impl<H> PartialEq<BuildHasherDefault<H>> for BuildHasherDefault<H>[src]
fn eq(&self, _other: &BuildHasherDefault<H>) -> bool[src]
impl<I, E> PartialEq<Context<I, E>> for Context<I, E> where
E: PartialEq<E>,
I: PartialEq<I>, [src]
E: PartialEq<E>,
I: PartialEq<I>,
impl<I, E> PartialEq<Err<I, E>> for Err<I, E> where
E: PartialEq<E>,
I: PartialEq<I>, [src]
E: PartialEq<E>,
I: PartialEq<I>,
impl<Idx> PartialEq<Range<Idx>> for cron::lib::std::ops::Range<Idx> where
Idx: PartialEq<Idx>, [src]
Idx: PartialEq<Idx>,
impl<Idx> PartialEq<RangeFrom<Idx>> for RangeFrom<Idx> where
Idx: PartialEq<Idx>, [src]
Idx: PartialEq<Idx>,
impl<Idx> PartialEq<RangeInclusive<Idx>> for RangeInclusive<Idx> where
Idx: PartialEq<Idx>, [src]
Idx: PartialEq<Idx>,
fn eq(&self, other: &RangeInclusive<Idx>) -> bool[src]
fn ne(&self, other: &RangeInclusive<Idx>) -> bool[src]
impl<Idx> PartialEq<RangeTo<Idx>> for RangeTo<Idx> where
Idx: PartialEq<Idx>, [src]
Idx: PartialEq<Idx>,
impl<Idx> PartialEq<RangeToInclusive<Idx>> for RangeToInclusive<Idx> where
Idx: PartialEq<Idx>, [src]
Idx: PartialEq<Idx>,
fn eq(&self, other: &RangeToInclusive<Idx>) -> bool[src]
fn ne(&self, other: &RangeToInclusive<Idx>) -> bool[src]
impl<K, V> PartialEq<BTreeMap<K, V>> for BTreeMap<K, V> where
K: PartialEq<K>,
V: PartialEq<V>, [src]
K: PartialEq<K>,
V: PartialEq<V>,
impl<K, V, S> PartialEq<HashMap<K, V, S>> for cron::lib::std::collections::HashMap<K, V, S> where
K: Eq + Hash,
S: BuildHasher,
V: PartialEq<V>, [src]
K: Eq + Hash,
S: BuildHasher,
V: PartialEq<V>,
impl<T> PartialEq<LocalResult<T>> for LocalResult<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
fn eq(&self, other: &LocalResult<T>) -> bool[src]
fn ne(&self, other: &LocalResult<T>) -> bool[src]
impl<T> PartialEq<Bound<T>> for Bound<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<T> PartialEq<Option<T>> for Option<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<T> PartialEq<Box<T>> for Box<T> where
T: PartialEq<T> + ?Sized, [src]
T: PartialEq<T> + ?Sized,
impl<T> PartialEq<Reverse<T>> for Reverse<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<T> PartialEq<BTreeSet<T>> for BTreeSet<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<T> PartialEq<LinkedList<T>> for LinkedList<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
fn eq(&self, other: &LinkedList<T>) -> bool[src]
fn ne(&self, other: &LinkedList<T>) -> bool[src]
impl<T> PartialEq<Discriminant<T>> for Discriminant<T>[src]
fn eq(&self, rhs: &Discriminant<T>) -> bool[src]
impl<T> PartialEq<ManuallyDrop<T>> for ManuallyDrop<T> where
T: PartialEq<T> + ?Sized, [src]
T: PartialEq<T> + ?Sized,
fn eq(&self, other: &ManuallyDrop<T>) -> bool[src]
fn ne(&self, other: &ManuallyDrop<T>) -> bool[src]
impl<T> PartialEq<Input<T>> for Input<T> where
T: PartialEq<T>, [src]
T: PartialEq<T>,
impl<T, E> PartialEq<Result<T, E>> for Result<T, E> where
E: PartialEq<E>,
T: PartialEq<T>, [src]
E: PartialEq<E>,
T: PartialEq<T>,
impl<T, S> PartialEq<HashSet<T, S>> for cron::lib::std::collections::HashSet<T, S> where
S: BuildHasher,
T: Eq + Hash, [src]
S: BuildHasher,
T: Eq + Hash,
impl<Tz, Tz2> PartialEq<Date<Tz2>> for Date<Tz> where
Tz: TimeZone,
Tz2: TimeZone, [src]
Tz: TimeZone,
Tz2: TimeZone,
impl<Tz, Tz2> PartialEq<DateTime<Tz2>> for DateTime<Tz> where
Tz: TimeZone,
Tz2: TimeZone, [src]
Tz: TimeZone,
Tz2: TimeZone,
impl<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R> where
R: PartialEq<R>,
Y: PartialEq<Y>, [src]
R: PartialEq<R>,
Y: PartialEq<Y>,
fn eq(&self, other: &GeneratorState<Y, R>) -> bool[src]
fn ne(&self, other: &GeneratorState<Y, R>) -> bool[src]
impl<const N: usize, A, B> PartialEq<[B; N]> for VecDeque<A> where
A: PartialEq<B>,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[B; N]: LengthAtMost32,
impl<const N: usize, A, B> PartialEq<[B; N]> for Vec<A> where
A: PartialEq<B>,
[B; N]: LengthAtMost32, [src]
A: PartialEq<B>,
[B; N]: LengthAtMost32,