Trait otter_api_tests::cmp::PartialEq 1.0.0[−][src]
pub trait PartialEq<Rhs = Self> where
Rhs: ?Sized, { #[must_use] fn eq(&self, other: &Rhs) -> bool; #[must_use] fn ne(&self, other: &Rhs) -> bool { ... } }
Expand description
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
, c
of type A
, B
,
C
):
-
Symmetric: if
A: PartialEq<B>
andB: PartialEq<A>
, thena == b
impliesb == a
; and -
Transitive: if
A: PartialEq<B>
andB: PartialEq<C>
andA: PartialEq<C>
, thena == b
andb == c
impliesa == c
.
Note that the B: PartialEq<A>
(symmetric) and A: PartialEq<C>
(transitive) impls are not forced to exist, but these requirements apply
whenever they do exist.
Derivable
This trait can be used with #[derive]
. When derive
d on structs, two
instances are equal if all fields are equal, and not equal if any fields
are not equal. When derive
d 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 BookFormat
s to be compared with Book
s.
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
Provided methods
Implementations on Foreign Types
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
C: PartialEq<C>,
E: PartialEq<E>,
L: PartialEq<L> + ?Sized,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
K: PartialEq<K>,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J>,
[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
C: PartialEq<C>,
E: PartialEq<E>,
L: PartialEq<L> + ?Sized,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
K: PartialEq<K>,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J>,
[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
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
K: PartialEq<K> + ?Sized,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J>,
[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
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
K: PartialEq<K> + ?Sized,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J>,
[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
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J> + ?Sized,
[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
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
G: PartialEq<G>,
A: PartialEq<A>,
F: PartialEq<F>,
I: PartialEq<I>,
D: PartialEq<D>,
H: PartialEq<H>,
J: PartialEq<J> + ?Sized,
[src]Equality for two Rc
s.
Two Rc
s 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 Rc
s that point to the same allocation are
always equal.
Examples
use std::rc::Rc; let five = Rc::new(5); assert!(five == Rc::new(5));
Inequality for two Rc
s.
Two Rc
s are unequal if their inner values are unequal.
If T
also implements Eq
(implying reflexivity of equality),
two Rc
s 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 PartialEq<PublicKey> for PublicKey
impl PartialEq<PublicKey> for PublicKey
Two public keys are equivalent if their data sections are equivalent, ignoring their comment section.
impl PartialEq<Data> for Data
impl PartialEq<Data> for Data
impl<Sep, T> PartialEq<StringWithSeparator<Sep, T>> for StringWithSeparator<Sep, T> where
T: PartialEq<T>,
Sep: PartialEq<Sep>,
[src]
impl<Sep, T> PartialEq<StringWithSeparator<Sep, T>> for StringWithSeparator<Sep, T> where
T: PartialEq<T>,
Sep: PartialEq<Sep>,
[src]impl PartialEq<Literals> for Literals
impl PartialEq<Literals> for Literals
impl PartialEq<ClassBytes> for ClassBytes
impl PartialEq<ClassBytes> for ClassBytes
impl PartialEq<RepetitionRange> for RepetitionRange
impl PartialEq<RepetitionRange> for RepetitionRange
impl PartialEq<Ast> for Ast
impl PartialEq<Ast> for Ast
impl PartialEq<ClassBracketed> for ClassBracketed
impl PartialEq<ClassBracketed> for ClassBracketed
impl PartialEq<ClassSetBinaryOp> for ClassSetBinaryOp
impl PartialEq<ClassSetBinaryOp> for ClassSetBinaryOp
impl PartialEq<ClassUnicodeOpKind> for ClassUnicodeOpKind
impl PartialEq<ClassUnicodeOpKind> for ClassUnicodeOpKind
impl PartialEq<ClassPerl> for ClassPerl
impl PartialEq<ClassPerl> for ClassPerl
impl PartialEq<ClassUnicodeKind> for ClassUnicodeKind
impl PartialEq<ClassUnicodeKind> for ClassUnicodeKind
impl PartialEq<ClassSetBinaryOpKind> for ClassSetBinaryOpKind
impl PartialEq<ClassSetBinaryOpKind> for ClassSetBinaryOpKind
impl PartialEq<ClassSetRange> for ClassSetRange
impl PartialEq<ClassSetRange> for ClassSetRange
impl PartialEq<SpecialLiteralKind> for SpecialLiteralKind
impl PartialEq<SpecialLiteralKind> for SpecialLiteralKind
impl PartialEq<ClassSetItem> for ClassSetItem
impl PartialEq<ClassSetItem> for ClassSetItem
impl PartialEq<Flags> for Flags
impl PartialEq<Flags> for Flags
impl PartialEq<Group> for Group
impl PartialEq<Group> for Group
impl PartialEq<WithComments> for WithComments
impl PartialEq<WithComments> for WithComments
impl PartialEq<HirKind> for HirKind
impl PartialEq<HirKind> for HirKind
impl PartialEq<FlagsItem> for FlagsItem
impl PartialEq<FlagsItem> for FlagsItem
impl PartialEq<FlagsItemKind> for FlagsItemKind
impl PartialEq<FlagsItemKind> for FlagsItemKind
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<Literal> for Literal
impl PartialEq<Literal> for Literal
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<Hir> for Hir
impl PartialEq<Hir> for Hir
impl PartialEq<Utf8Range> for Utf8Range
impl PartialEq<Utf8Range> for Utf8Range
impl PartialEq<ClassUnicode> for ClassUnicode
impl PartialEq<ClassUnicode> for ClassUnicode
impl PartialEq<GroupKind> for GroupKind
impl PartialEq<GroupKind> for GroupKind
impl PartialEq<Comment> for Comment
impl PartialEq<Comment> for Comment
impl PartialEq<RepetitionKind> for RepetitionKind
impl PartialEq<RepetitionKind> for RepetitionKind
impl PartialEq<Repetition> for Repetition
impl PartialEq<Repetition> for Repetition
impl PartialEq<Repetition> for Repetition
impl PartialEq<Repetition> for Repetition
impl PartialEq<Assertion> for Assertion
impl PartialEq<Assertion> for Assertion
impl PartialEq<LiteralKind> for LiteralKind
impl PartialEq<LiteralKind> for LiteralKind
impl PartialEq<ClassSetUnion> for ClassSetUnion
impl PartialEq<ClassSetUnion> for ClassSetUnion
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<GroupKind> for GroupKind
impl PartialEq<GroupKind> for GroupKind
impl PartialEq<ClassAscii> for ClassAscii
impl PartialEq<ClassAscii> for ClassAscii
impl PartialEq<Literal> for Literal
impl PartialEq<Literal> for Literal
impl PartialEq<ClassUnicodeRange> for ClassUnicodeRange
impl PartialEq<ClassUnicodeRange> for ClassUnicodeRange
impl PartialEq<RepetitionKind> for RepetitionKind
impl PartialEq<RepetitionKind> for RepetitionKind
impl PartialEq<Group> for Group
impl PartialEq<Group> for Group
impl PartialEq<RepetitionRange> for RepetitionRange
impl PartialEq<RepetitionRange> for RepetitionRange
impl PartialEq<Utf8Sequence> for Utf8Sequence
impl PartialEq<Utf8Sequence> for Utf8Sequence
impl PartialEq<Class> for Class
impl PartialEq<Class> for Class
impl PartialEq<Alternation> for Alternation
impl PartialEq<Alternation> for Alternation
impl PartialEq<ClassUnicode> for ClassUnicode
impl PartialEq<ClassUnicode> for ClassUnicode
impl PartialEq<ClassBytesRange> for ClassBytesRange
impl PartialEq<ClassBytesRange> for ClassBytesRange
impl PartialEq<RepetitionOp> for RepetitionOp
impl PartialEq<RepetitionOp> for RepetitionOp
impl PartialEq<ClassSet> for ClassSet
impl PartialEq<ClassSet> for ClassSet
impl PartialEq<Concat> for Concat
impl PartialEq<Concat> for Concat
impl PartialEq<Position> for Position
impl PartialEq<Position> for Position
impl PartialEq<Class> for Class
impl PartialEq<Class> for Class
impl PartialEq<SetFlags> for SetFlags
impl PartialEq<SetFlags> for SetFlags
impl PartialEq<CaptureName> for CaptureName
impl PartialEq<CaptureName> for CaptureName
impl PartialEq<Span> for Span
impl PartialEq<Span> for Span
impl PartialEq<Match> for Match
impl PartialEq<Match> for Match
impl PartialEq<ParseColorError> for ParseColorError
impl PartialEq<ParseColorError> for ParseColorError
impl PartialEq<Color> for Color
impl PartialEq<Color> for Color
impl PartialEq<ColorSpec> for ColorSpec
impl PartialEq<ColorSpec> for ColorSpec
impl PartialEq<DwEnd> for DwEnd
impl PartialEq<DwEnd> for DwEnd
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>,
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>,
impl PartialEq<DwDsc> for DwDsc
impl PartialEq<DwDsc> for DwDsc
impl PartialEq<FileEntryFormat> for FileEntryFormat
impl PartialEq<FileEntryFormat> for FileEntryFormat
impl PartialEq<AttributeSpecification> for AttributeSpecification
impl PartialEq<AttributeSpecification> for AttributeSpecification
impl PartialEq<DwUt> for DwUt
impl PartialEq<DwUt> for DwUt
impl PartialEq<DwLne> for DwLne
impl PartialEq<DwLne> for DwLne
impl PartialEq<LineRow> for LineRow
impl PartialEq<LineRow> for LineRow
impl PartialEq<DwTag> for DwTag
impl PartialEq<DwTag> for DwTag
impl PartialEq<Encoding> for Encoding
impl PartialEq<Encoding> for Encoding
impl PartialEq<LineEncoding> for LineEncoding
impl PartialEq<LineEncoding> for LineEncoding
impl PartialEq<DwVirtuality> for DwVirtuality
impl PartialEq<DwVirtuality> for DwVirtuality
impl PartialEq<DwOp> for DwOp
impl PartialEq<DwOp> for DwOp
impl PartialEq<DwoId> for DwoId
impl PartialEq<DwoId> for DwoId
impl PartialEq<DwEhPe> for DwEhPe
impl PartialEq<DwEhPe> for DwEhPe
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<DwLle> for DwLle
impl PartialEq<DwLle> for DwLle
impl PartialEq<Register> for Register
impl PartialEq<Register> for Register
impl PartialEq<DwLnct> for DwLnct
impl PartialEq<DwLnct> for DwLnct
impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl PartialEq<DwRle> for DwRle
impl PartialEq<DwRle> for DwRle
impl PartialEq<DwAt> for DwAt
impl PartialEq<DwAt> for DwAt
impl PartialEq<DwOrd> for DwOrd
impl PartialEq<DwOrd> for DwOrd
impl PartialEq<DwAddr> for DwAddr
impl PartialEq<DwAddr> for DwAddr
impl PartialEq<DwInl> for DwInl
impl PartialEq<DwInl> for DwInl
impl PartialEq<DwChildren> for DwChildren
impl PartialEq<DwChildren> for DwChildren
impl PartialEq<DwId> for DwId
impl PartialEq<DwId> for DwId
impl PartialEq<ArangeEntry> for ArangeEntry
impl PartialEq<ArangeEntry> for ArangeEntry
impl PartialEq<ColumnType> for ColumnType
impl PartialEq<ColumnType> for ColumnType
impl PartialEq<DwMacro> for DwMacro
impl PartialEq<DwMacro> for DwMacro
impl PartialEq<DwVis> for DwVis
impl PartialEq<DwVis> for DwVis
impl PartialEq<ReaderOffsetId> for ReaderOffsetId
impl PartialEq<ReaderOffsetId> for ReaderOffsetId
impl PartialEq<DwCc> for DwCc
impl PartialEq<DwCc> for DwCc
impl PartialEq<Pointer> for Pointer
impl PartialEq<Pointer> for Pointer
impl PartialEq<DebugTypeSignature> for DebugTypeSignature
impl PartialEq<DebugTypeSignature> for DebugTypeSignature
impl PartialEq<DwAte> for DwAte
impl PartialEq<DwAte> for DwAte
impl PartialEq<DwDs> for DwDs
impl PartialEq<DwDs> for DwDs
impl PartialEq<Range> for Range
impl PartialEq<Range> for Range
impl PartialEq<DwAccess> for DwAccess
impl PartialEq<DwAccess> for DwAccess
impl PartialEq<Abbreviation> for Abbreviation
impl PartialEq<Abbreviation> for Abbreviation
impl PartialEq<BaseAddresses> for BaseAddresses
impl PartialEq<BaseAddresses> for BaseAddresses
impl PartialEq<DwForm> for DwForm
impl PartialEq<DwForm> for DwForm
impl PartialEq<Augmentation> for Augmentation
impl PartialEq<Augmentation> for Augmentation
impl PartialEq<DwCfa> for DwCfa
impl PartialEq<DwCfa> for DwCfa
impl PartialEq<DwLang> for DwLang
impl PartialEq<DwLang> for DwLang
impl PartialEq<DwDefaulted> for DwDefaulted
impl PartialEq<DwDefaulted> for DwDefaulted
impl PartialEq<DwIdx> for DwIdx
impl PartialEq<DwIdx> for DwIdx
impl PartialEq<DwLns> for DwLns
impl PartialEq<DwLns> for DwLns
impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
impl PartialEq<CompressionFormat> for CompressionFormat
impl PartialEq<CompressionFormat> for CompressionFormat
impl PartialEq<RelocationTarget> for RelocationTarget
impl PartialEq<RelocationTarget> for RelocationTarget
impl PartialEq<SectionFlags> for SectionFlags
impl PartialEq<SectionFlags> for SectionFlags
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<SectionKind> for SectionKind
impl PartialEq<SectionKind> for SectionKind
impl PartialEq<RelocationEncoding> for RelocationEncoding
impl PartialEq<RelocationEncoding> for RelocationEncoding
impl PartialEq<SectionIndex> for SectionIndex
impl PartialEq<SectionIndex> for SectionIndex
impl PartialEq<CompressedFileRange> for CompressedFileRange
impl PartialEq<CompressedFileRange> for CompressedFileRange
impl<'data> PartialEq<Export<'data>> for Export<'data>
impl<'data> PartialEq<Export<'data>> for Export<'data>
impl<'data> PartialEq<CodeView<'data>> for CodeView<'data>
impl<'data> PartialEq<CodeView<'data>> for CodeView<'data>
impl<'data> PartialEq<Import<'data>> for Import<'data>
impl<'data> PartialEq<Import<'data>> for Import<'data>
impl<'data> PartialEq<CompressedData<'data>> for CompressedData<'data>
impl<'data> PartialEq<CompressedData<'data>> for CompressedData<'data>
impl<'data> PartialEq<SymbolMapName<'data>> for SymbolMapName<'data>
impl<'data> PartialEq<SymbolMapName<'data>> for SymbolMapName<'data>
impl PartialEq<SymbolIndex> for SymbolIndex
impl PartialEq<SymbolIndex> for SymbolIndex
impl<'data> PartialEq<Bytes<'data>> for Bytes<'data>
impl<'data> PartialEq<Bytes<'data>> for Bytes<'data>
impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>
impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>
impl PartialEq<RelocationKind> for RelocationKind
impl PartialEq<RelocationKind> for RelocationKind
impl PartialEq<SymbolSection> for SymbolSection
impl PartialEq<SymbolSection> for SymbolSection
impl PartialEq<FileFlags> for FileFlags
impl PartialEq<FileFlags> for FileFlags
impl PartialEq<CompressionStrategy> for CompressionStrategy
impl PartialEq<CompressionStrategy> for CompressionStrategy
impl PartialEq<CompressionLevel> for CompressionLevel
impl PartialEq<CompressionLevel> for CompressionLevel
impl PartialEq<StreamResult> for StreamResult
impl PartialEq<StreamResult> for StreamResult
impl PartialEq<FileTime> for FileTime
impl PartialEq<FileTime> for FileTime
impl PartialEq<WatchDescriptor> for WatchDescriptor
impl PartialEq<WatchDescriptor> for WatchDescriptor
impl PartialEq<EventMask> for EventMask
impl PartialEq<EventMask> for EventMask
impl PartialEq<WatchMask> for WatchMask
impl PartialEq<WatchMask> for WatchMask
impl PartialEq<Handle> for Handle
impl PartialEq<Handle> for Handle
impl PartialEq<ParkToken> for ParkToken
impl PartialEq<ParkToken> for ParkToken
impl PartialEq<UnparkResult> for UnparkResult
impl PartialEq<UnparkResult> for UnparkResult
impl PartialEq<UnparkToken> for UnparkToken
impl PartialEq<UnparkToken> for UnparkToken
impl PartialEq<ParkResult> for ParkResult
impl PartialEq<ParkResult> for ParkResult
impl PartialEq<Marker> for Marker
impl PartialEq<Marker> for Marker
impl PartialEq<ExtMeta> for ExtMeta
impl PartialEq<ExtMeta> for ExtMeta
impl PartialEq<UnixSocketAddr> for [u8]
impl PartialEq<UnixSocketAddr> for [u8]
pub fn eq(&self, addr: &UnixSocketAddr) -> bool
impl<'text> PartialEq<BidiInfo<'text>> for BidiInfo<'text>
impl<'text> PartialEq<BidiInfo<'text>> for BidiInfo<'text>
impl PartialEq<ParagraphInfo> for ParagraphInfo
impl PartialEq<ParagraphInfo> for ParagraphInfo
Used for matching levels in conformance tests
Used for matching levels in conformance tests
impl PartialEq<Level> for Level
impl PartialEq<Level> for Level
impl<'text> PartialEq<InitialInfo<'text>> for InitialInfo<'text>
impl<'text> PartialEq<InitialInfo<'text>> for InitialInfo<'text>
impl PartialEq<Delay> for Delay
impl PartialEq<Delay> for Delay
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<PixelDensityUnit> for PixelDensityUnit
impl PartialEq<PixelDensityUnit> for PixelDensityUnit
impl PartialEq<LimitErrorKind> for LimitErrorKind
impl PartialEq<LimitErrorKind> for LimitErrorKind
impl PartialEq<FilterType> for FilterType
impl PartialEq<FilterType> for FilterType
impl PartialEq<CompressionType> for CompressionType
impl PartialEq<CompressionType> for CompressionType
impl PartialEq<UnsupportedErrorKind> for UnsupportedErrorKind
impl PartialEq<UnsupportedErrorKind> for UnsupportedErrorKind
impl PartialEq<ImageFormatHint> for ImageFormatHint
impl PartialEq<ImageFormatHint> for ImageFormatHint
impl PartialEq<ColorType> for ColorType
impl PartialEq<ColorType> for ColorType
impl PartialEq<Rect> for Rect
impl PartialEq<Rect> for Rect
impl PartialEq<PixelDensity> for PixelDensity
impl PartialEq<PixelDensity> for PixelDensity
impl PartialEq<ImageOutputFormat> for ImageOutputFormat
impl PartialEq<ImageOutputFormat> for ImageOutputFormat
impl PartialEq<ParameterErrorKind> for ParameterErrorKind
impl PartialEq<ParameterErrorKind> for ParameterErrorKind
impl PartialEq<DynamicImage> for DynamicImage
impl PartialEq<DynamicImage> for DynamicImage
impl PartialEq<SampleLayout> for SampleLayout
impl PartialEq<SampleLayout> for SampleLayout
impl PartialEq<ImageFormat> for ImageFormat
impl PartialEq<ImageFormat> for ImageFormat
impl PartialEq<Progress> for Progress
impl PartialEq<Progress> for Progress
impl PartialEq<ExtendedColorType> for ExtendedColorType
impl PartialEq<ExtendedColorType> for ExtendedColorType
impl PartialEq<ImageInfo> for ImageInfo
impl PartialEq<ImageInfo> for ImageInfo
impl PartialEq<OutputInfo> for OutputInfo
impl PartialEq<OutputInfo> for OutputInfo
impl PartialEq<Transformations> for Transformations
impl PartialEq<Transformations> for Transformations
impl PartialEq<CompressionOptions> for CompressionOptions
impl PartialEq<CompressionOptions> for CompressionOptions
impl PartialEq<CompressionLevel> for CompressionLevel
impl PartialEq<CompressionLevel> for CompressionLevel
impl PartialEq<StreamResult> for StreamResult
impl PartialEq<StreamResult> for StreamResult
impl PartialEq<CompressionStrategy> for CompressionStrategy
impl PartialEq<CompressionStrategy> for CompressionStrategy
impl PartialEq<GraphemeIncomplete> for GraphemeIncomplete
impl PartialEq<GraphemeIncomplete> for GraphemeIncomplete
impl PartialEq<GraphemeClusterBreak> for GraphemeClusterBreak
impl PartialEq<GraphemeClusterBreak> for GraphemeClusterBreak
impl PartialEq<UnicodeVersion> for UnicodeVersion
impl PartialEq<UnicodeVersion> for UnicodeVersion
impl PartialEq<FileType> for FileType
impl PartialEq<FileType> for FileType
impl PartialEq<FileTypeDef> for FileTypeDef
impl PartialEq<FileTypeDef> for FileTypeDef
impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
impl PartialEq<Utf8Error> for Utf8Error
impl PartialEq<Utf8Error> for Utf8Error
impl PartialEq<FromUtf8Error> for FromUtf8Error
impl PartialEq<FromUtf8Error> for FromUtf8Error
URLs compare like their serialization.
impl PartialEq<GraphemeIncomplete> for GraphemeIncomplete
impl PartialEq<GraphemeIncomplete> for GraphemeIncomplete
impl PartialEq<GraphemeClusterBreak> for GraphemeClusterBreak
impl PartialEq<GraphemeClusterBreak> for GraphemeClusterBreak
impl PartialEq<UnicodeVersion> for UnicodeVersion
impl PartialEq<UnicodeVersion> for UnicodeVersion
impl PartialEq<Style> for Style
impl PartialEq<Style> for Style
impl PartialEq<Key> for Key
impl PartialEq<Key> for Key
impl PartialEq<Color> for Color
impl PartialEq<Color> for Color
impl PartialEq<Colour> for Colour
impl PartialEq<Colour> for Colour
impl PartialEq<Style> for Style
impl PartialEq<Style> for Style
Performs a case-insensitive comparison of the string against the header name
Performs a case-insensitive comparison of the string against the header name
Examples
use http::header::CONTENT_LENGTH; assert_eq!(CONTENT_LENGTH, "content-length"); assert_eq!(CONTENT_LENGTH, "Content-Length"); assert_ne!(CONTENT_LENGTH, "content length");
Case-insensitive equality
Examples
let authority: Authority = "HELLO.com".parse().unwrap(); assert_eq!(authority, "hello.coM"); assert_eq!("hello.com", authority);
Case-insensitive equality
Case-insensitive equality
Examples
let scheme: Scheme = "HTTP".parse().unwrap(); assert_eq!(scheme, *"http");
impl PartialEq<Ready> for Ready
impl PartialEq<Ready> for Ready
impl PartialEq<TryRecvError> for TryRecvError
impl PartialEq<TryRecvError> for TryRecvError
impl PartialEq<TryAcquireError> for TryAcquireError
impl PartialEq<TryAcquireError> for TryAcquireError
impl PartialEq<Instant> for Instant
impl PartialEq<Instant> for Instant
impl PartialEq<Interest> for Interest
impl PartialEq<Interest> for Interest
impl PartialEq<RecvError> for RecvError
impl PartialEq<RecvError> for RecvError
impl PartialEq<Elapsed> for Elapsed
impl PartialEq<Elapsed> for Elapsed
impl PartialEq<UCred> for UCred
impl PartialEq<UCred> for UCred
impl PartialEq<RecvError> for RecvError
impl PartialEq<RecvError> for RecvError
impl PartialEq<Name> for Name
impl PartialEq<Name> for Name
impl PartialEq<SendError> for SendError
impl PartialEq<SendError> for SendError
impl<'headers, 'buf> PartialEq<Request<'headers, 'buf>> for Request<'headers, 'buf> where
'buf: 'headers,
impl<'headers, 'buf> PartialEq<Request<'headers, 'buf>> for Request<'headers, 'buf> where
'buf: 'headers,
impl<'a> PartialEq<Header<'a>> for Header<'a>
impl<'a> PartialEq<Header<'a>> for Header<'a>
impl PartialEq<InvalidChunkSize> for InvalidChunkSize
impl PartialEq<InvalidChunkSize> for InvalidChunkSize
impl<'headers, 'buf> PartialEq<Response<'headers, 'buf>> for Response<'headers, 'buf> where
'buf: 'headers,
impl<'headers, 'buf> PartialEq<Response<'headers, 'buf>> for Response<'headers, 'buf> where
'buf: 'headers,
impl PartialEq<BytesCodec> for BytesCodec
impl PartialEq<BytesCodec> for BytesCodec
impl PartialEq<LinesCodec> for LinesCodec
impl PartialEq<LinesCodec> for LinesCodec
impl PartialEq<AnyDelimiterCodec> for AnyDelimiterCodec
impl PartialEq<AnyDelimiterCodec> for AnyDelimiterCodec
impl<K, V1, S1, V2, S2> PartialEq<IndexMap<K, V2, S2>> for IndexMap<K, V1, S1> where
K: Hash + Eq,
S1: BuildHasher,
S2: BuildHasher,
V1: PartialEq<V2>,
[src]
impl<K, V1, S1, V2, S2> PartialEq<IndexMap<K, V2, S2>> for IndexMap<K, V1, S1> where
K: Hash + Eq,
S1: BuildHasher,
S2: BuildHasher,
V1: PartialEq<V2>,
[src]impl<T, S1, S2> PartialEq<IndexSet<T, S2>> for IndexSet<T, S1> where
T: Hash + Eq,
S1: BuildHasher,
S2: BuildHasher,
[src]
impl<T, S1, S2> PartialEq<IndexSet<T, S2>> for IndexSet<T, S1> where
T: Hash + Eq,
S1: BuildHasher,
S2: BuildHasher,
[src]impl<T, S> PartialEq<HashSet<T, S>> for HashSet<T, S> where
T: Eq + Hash,
S: BuildHasher,
impl<T, S> PartialEq<HashSet<T, S>> for HashSet<T, S> where
T: Eq + Hash,
S: BuildHasher,
impl PartialEq<TryReserveError> for TryReserveError
impl PartialEq<TryReserveError> for TryReserveError
impl<K, V, S> PartialEq<HashMap<K, V, S>> for HashMap<K, V, S> where
S: BuildHasher,
K: Eq + Hash,
V: PartialEq<V>,
impl<K, V, S> PartialEq<HashMap<K, V, S>> for HashMap<K, V, S> where
S: BuildHasher,
K: Eq + Hash,
V: PartialEq<V>,
impl PartialEq<EncoderResult> for EncoderResult
impl PartialEq<EncoderResult> for EncoderResult
impl PartialEq<DecoderResult> for DecoderResult
impl PartialEq<DecoderResult> for DecoderResult
impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
Implementors
impl PartialEq<DecodeError> for DecodeError
impl PartialEq<DecodeError> for DecodeError
pub fn eq(&self, other: &DecodeError) -> bool
pub fn ne(&self, other: &DecodeError) -> bool
impl PartialEq<WriteStyle> for WriteStyle
impl PartialEq<WriteStyle> for WriteStyle
pub fn eq(&self, other: &WriteStyle) -> bool
impl PartialEq<PosixFadviseAdvice> for PosixFadviseAdvice
impl PartialEq<PosixFadviseAdvice> for PosixFadviseAdvice
pub fn eq(&self, other: &PosixFadviseAdvice) -> bool
impl PartialEq<AioCancelStat> for AioCancelStat
impl PartialEq<AioCancelStat> for AioCancelStat
pub fn eq(&self, other: &AioCancelStat) -> bool
impl PartialEq<AioFsyncMode> for AioFsyncMode
impl PartialEq<AioFsyncMode> for AioFsyncMode
pub fn eq(&self, other: &AioFsyncMode) -> bool
impl PartialEq<MmapAdvise> for MmapAdvise
impl PartialEq<MmapAdvise> for MmapAdvise
pub fn eq(&self, other: &MmapAdvise) -> bool
impl PartialEq<RebootMode> for RebootMode
impl PartialEq<RebootMode> for RebootMode
pub fn eq(&self, other: &RebootMode) -> bool
impl PartialEq<SigHandler> for SigHandler
impl PartialEq<SigHandler> for SigHandler
pub fn eq(&self, other: &SigHandler) -> bool
pub fn ne(&self, other: &SigHandler) -> bool
impl PartialEq<SigevNotify> for SigevNotify
impl PartialEq<SigevNotify> for SigevNotify
pub fn eq(&self, other: &SigevNotify) -> bool
pub fn ne(&self, other: &SigevNotify) -> bool
impl PartialEq<SigmaskHow> for SigmaskHow
impl PartialEq<SigmaskHow> for SigmaskHow
pub fn eq(&self, other: &SigmaskHow) -> bool
impl PartialEq<AddressFamily> for AddressFamily
impl PartialEq<AddressFamily> for AddressFamily
pub fn eq(&self, other: &AddressFamily) -> bool
impl PartialEq<ControlMessageOwned> for ControlMessageOwned
impl PartialEq<ControlMessageOwned> for ControlMessageOwned
pub fn eq(&self, other: &ControlMessageOwned) -> bool
pub fn ne(&self, other: &ControlMessageOwned) -> bool
impl PartialEq<SockProtocol> for SockProtocol
impl PartialEq<SockProtocol> for SockProtocol
pub fn eq(&self, other: &SockProtocol) -> bool
pub fn eq(&self, other: &SpecialCharacterIndices) -> bool
impl PartialEq<Expiration> for Expiration
impl PartialEq<Expiration> for Expiration
pub fn eq(&self, other: &Expiration) -> bool
pub fn ne(&self, other: &Expiration) -> bool
impl PartialEq<WaitStatus> for WaitStatus
impl PartialEq<WaitStatus> for WaitStatus
pub fn eq(&self, other: &WaitStatus) -> bool
pub fn ne(&self, other: &WaitStatus) -> bool
impl PartialEq<DecodeErrKind> for DecodeErrKind
impl PartialEq<DecodeErrKind> for DecodeErrKind
pub fn eq(&self, other: &DecodeErrKind) -> bool
impl PartialEq<ConnCredentials> for ConnCredentials
impl PartialEq<ConnCredentials> for ConnCredentials
pub fn eq(&self, other: &ConnCredentials) -> bool
pub fn ne(&self, other: &ConnCredentials) -> bool
impl PartialEq<LittleEndian> for otter_api_tests::shapelib::LittleEndian
impl PartialEq<LittleEndian> for otter_api_tests::shapelib::LittleEndian
pub fn eq(&self, other: &LittleEndian) -> bool
impl PartialEq<PathconfVar> for PathconfVar
impl PartialEq<PathconfVar> for PathconfVar
pub fn eq(&self, other: &PathconfVar) -> bool
impl PartialEq<SysconfVar> for SysconfVar
impl PartialEq<SysconfVar> for SysconfVar
pub fn eq(&self, other: &SysconfVar) -> bool
impl PartialEq<LogicError> for LogicError
impl PartialEq<LogicError> for LogicError
pub fn eq(&self, other: &LogicError) -> bool
pub fn ne(&self, other: &LogicError) -> bool
impl PartialEq<CompressionMethod> for CompressionMethod
impl PartialEq<CompressionMethod> for CompressionMethod
pub fn eq(&self, other: &CompressionMethod) -> bool
pub fn ne(&self, other: &CompressionMethod) -> bool
impl PartialEq<ModuleFilter> for ModuleFilter
impl PartialEq<ModuleFilter> for ModuleFilter
pub fn eq(&self, other: &ModuleFilter) -> bool
pub fn ne(&self, other: &ModuleFilter) -> bool
impl PartialEq<Elf32_Chdr> for Elf32_Chdr
impl PartialEq<Elf32_Chdr> for Elf32_Chdr
pub fn eq(&self, other: &Elf32_Chdr) -> bool
pub fn ne(&self, other: &Elf32_Chdr) -> bool
impl PartialEq<Elf32_Ehdr> for Elf32_Ehdr
impl PartialEq<Elf32_Ehdr> for Elf32_Ehdr
pub fn eq(&self, other: &Elf32_Ehdr) -> bool
pub fn ne(&self, other: &Elf32_Ehdr) -> bool
impl PartialEq<Elf32_Phdr> for Elf32_Phdr
impl PartialEq<Elf32_Phdr> for Elf32_Phdr
pub fn eq(&self, other: &Elf32_Phdr) -> bool
pub fn ne(&self, other: &Elf32_Phdr) -> bool
impl PartialEq<Elf32_Shdr> for Elf32_Shdr
impl PartialEq<Elf32_Shdr> for Elf32_Shdr
pub fn eq(&self, other: &Elf32_Shdr) -> bool
pub fn ne(&self, other: &Elf32_Shdr) -> bool
impl PartialEq<Elf64_Chdr> for Elf64_Chdr
impl PartialEq<Elf64_Chdr> for Elf64_Chdr
pub fn eq(&self, other: &Elf64_Chdr) -> bool
pub fn ne(&self, other: &Elf64_Chdr) -> bool
impl PartialEq<Elf64_Ehdr> for Elf64_Ehdr
impl PartialEq<Elf64_Ehdr> for Elf64_Ehdr
pub fn eq(&self, other: &Elf64_Ehdr) -> bool
pub fn ne(&self, other: &Elf64_Ehdr) -> bool
impl PartialEq<Elf64_Phdr> for Elf64_Phdr
impl PartialEq<Elf64_Phdr> for Elf64_Phdr
pub fn eq(&self, other: &Elf64_Phdr) -> bool
pub fn ne(&self, other: &Elf64_Phdr) -> bool
impl PartialEq<Elf64_Shdr> for Elf64_Shdr
impl PartialEq<Elf64_Shdr> for Elf64_Shdr
pub fn eq(&self, other: &Elf64_Shdr) -> bool
pub fn ne(&self, other: &Elf64_Shdr) -> bool
pub fn eq(&self, other: &__c_anonymous_sockaddr_can_j1939) -> bool
pub fn ne(&self, other: &__c_anonymous_sockaddr_can_j1939) -> bool
pub fn eq(&self, other: &__c_anonymous_sockaddr_can_tp) -> bool
pub fn ne(&self, other: &__c_anonymous_sockaddr_can_tp) -> bool
impl PartialEq<__exit_status> for __exit_status
impl PartialEq<__exit_status> for __exit_status
pub fn eq(&self, other: &__exit_status) -> bool
pub fn ne(&self, other: &__exit_status) -> bool
impl PartialEq<_libc_fpstate> for _libc_fpstate
impl PartialEq<_libc_fpstate> for _libc_fpstate
pub fn eq(&self, other: &_libc_fpstate) -> bool
pub fn ne(&self, other: &_libc_fpstate) -> bool
impl PartialEq<_libc_fpxreg> for _libc_fpxreg
impl PartialEq<_libc_fpxreg> for _libc_fpxreg
pub fn eq(&self, other: &_libc_fpxreg) -> bool
pub fn ne(&self, other: &_libc_fpxreg) -> bool
impl PartialEq<_libc_xmmreg> for _libc_xmmreg
impl PartialEq<_libc_xmmreg> for _libc_xmmreg
pub fn eq(&self, other: &_libc_xmmreg) -> bool
pub fn ne(&self, other: &_libc_xmmreg) -> bool
impl PartialEq<arpd_request> for arpd_request
impl PartialEq<arpd_request> for arpd_request
pub fn eq(&self, other: &arpd_request) -> bool
pub fn ne(&self, other: &arpd_request) -> bool
impl PartialEq<arpreq_old> for arpreq_old
impl PartialEq<arpreq_old> for arpreq_old
pub fn eq(&self, other: &arpreq_old) -> bool
pub fn ne(&self, other: &arpreq_old) -> bool
impl PartialEq<can_filter> for can_filter
impl PartialEq<can_filter> for can_filter
pub fn eq(&self, other: &can_filter) -> bool
pub fn ne(&self, other: &can_filter) -> bool
impl PartialEq<dl_phdr_info> for dl_phdr_info
impl PartialEq<dl_phdr_info> for dl_phdr_info
pub fn eq(&self, other: &dl_phdr_info) -> bool
pub fn ne(&self, other: &dl_phdr_info) -> bool
impl PartialEq<epoll_event> for epoll_event
impl PartialEq<epoll_event> for epoll_event
pub fn eq(&self, other: &epoll_event) -> bool
pub fn eq(&self, other: &fanotify_event_metadata) -> bool
pub fn ne(&self, other: &fanotify_event_metadata) -> bool
impl PartialEq<fanotify_response> for fanotify_response
impl PartialEq<fanotify_response> for fanotify_response
pub fn eq(&self, other: &fanotify_response) -> bool
pub fn ne(&self, other: &fanotify_response) -> bool
impl PartialEq<ff_condition_effect> for ff_condition_effect
impl PartialEq<ff_condition_effect> for ff_condition_effect
pub fn eq(&self, other: &ff_condition_effect) -> bool
pub fn ne(&self, other: &ff_condition_effect) -> bool
impl PartialEq<ff_constant_effect> for ff_constant_effect
impl PartialEq<ff_constant_effect> for ff_constant_effect
pub fn eq(&self, other: &ff_constant_effect) -> bool
pub fn ne(&self, other: &ff_constant_effect) -> bool
impl PartialEq<ff_envelope> for ff_envelope
impl PartialEq<ff_envelope> for ff_envelope
pub fn eq(&self, other: &ff_envelope) -> bool
pub fn ne(&self, other: &ff_envelope) -> bool
impl PartialEq<ff_periodic_effect> for ff_periodic_effect
impl PartialEq<ff_periodic_effect> for ff_periodic_effect
pub fn eq(&self, other: &ff_periodic_effect) -> bool
pub fn ne(&self, other: &ff_periodic_effect) -> bool
impl PartialEq<ff_ramp_effect> for ff_ramp_effect
impl PartialEq<ff_ramp_effect> for ff_ramp_effect
pub fn eq(&self, other: &ff_ramp_effect) -> bool
pub fn ne(&self, other: &ff_ramp_effect) -> bool
impl PartialEq<ff_rumble_effect> for ff_rumble_effect
impl PartialEq<ff_rumble_effect> for ff_rumble_effect
pub fn eq(&self, other: &ff_rumble_effect) -> bool
pub fn ne(&self, other: &ff_rumble_effect) -> bool
impl PartialEq<ff_trigger> for ff_trigger
impl PartialEq<ff_trigger> for ff_trigger
pub fn eq(&self, other: &ff_trigger) -> bool
pub fn ne(&self, other: &ff_trigger) -> bool
impl PartialEq<genlmsghdr> for genlmsghdr
impl PartialEq<genlmsghdr> for genlmsghdr
pub fn eq(&self, other: &genlmsghdr) -> bool
pub fn ne(&self, other: &genlmsghdr) -> bool
impl PartialEq<if_nameindex> for if_nameindex
impl PartialEq<if_nameindex> for if_nameindex
pub fn eq(&self, other: &if_nameindex) -> bool
pub fn ne(&self, other: &if_nameindex) -> bool
impl PartialEq<in6_pktinfo> for in6_pktinfo
impl PartialEq<in6_pktinfo> for in6_pktinfo
pub fn eq(&self, other: &in6_pktinfo) -> bool
pub fn ne(&self, other: &in6_pktinfo) -> bool
impl PartialEq<in_pktinfo> for in_pktinfo
impl PartialEq<in_pktinfo> for in_pktinfo
pub fn eq(&self, other: &in_pktinfo) -> bool
pub fn ne(&self, other: &in_pktinfo) -> bool
impl PartialEq<inotify_event> for inotify_event
impl PartialEq<inotify_event> for inotify_event
pub fn eq(&self, other: &inotify_event) -> bool
pub fn ne(&self, other: &inotify_event) -> bool
impl PartialEq<input_absinfo> for input_absinfo
impl PartialEq<input_absinfo> for input_absinfo
pub fn eq(&self, other: &input_absinfo) -> bool
pub fn ne(&self, other: &input_absinfo) -> bool
impl PartialEq<input_event> for input_event
impl PartialEq<input_event> for input_event
pub fn eq(&self, other: &input_event) -> bool
pub fn ne(&self, other: &input_event) -> bool
impl PartialEq<input_keymap_entry> for input_keymap_entry
impl PartialEq<input_keymap_entry> for input_keymap_entry
pub fn eq(&self, other: &input_keymap_entry) -> bool
pub fn ne(&self, other: &input_keymap_entry) -> bool
impl PartialEq<input_mask> for input_mask
impl PartialEq<input_mask> for input_mask
pub fn eq(&self, other: &input_mask) -> bool
pub fn ne(&self, other: &input_mask) -> bool
impl PartialEq<ip_mreq_source> for ip_mreq_source
impl PartialEq<ip_mreq_source> for ip_mreq_source
pub fn eq(&self, other: &ip_mreq_source) -> bool
pub fn ne(&self, other: &ip_mreq_source) -> bool
impl PartialEq<itimerspec> for itimerspec
impl PartialEq<itimerspec> for itimerspec
pub fn eq(&self, other: &itimerspec) -> bool
pub fn ne(&self, other: &itimerspec) -> bool
impl PartialEq<mcontext_t> for mcontext_t
impl PartialEq<mcontext_t> for mcontext_t
pub fn eq(&self, other: &mcontext_t) -> bool
pub fn ne(&self, other: &mcontext_t) -> bool
impl PartialEq<nl_mmap_hdr> for nl_mmap_hdr
impl PartialEq<nl_mmap_hdr> for nl_mmap_hdr
pub fn eq(&self, other: &nl_mmap_hdr) -> bool
pub fn ne(&self, other: &nl_mmap_hdr) -> bool
impl PartialEq<nl_mmap_req> for nl_mmap_req
impl PartialEq<nl_mmap_req> for nl_mmap_req
pub fn eq(&self, other: &nl_mmap_req) -> bool
pub fn ne(&self, other: &nl_mmap_req) -> bool
impl PartialEq<nl_pktinfo> for nl_pktinfo
impl PartialEq<nl_pktinfo> for nl_pktinfo
pub fn eq(&self, other: &nl_pktinfo) -> bool
pub fn ne(&self, other: &nl_pktinfo) -> bool
impl PartialEq<ntptimeval> for ntptimeval
impl PartialEq<ntptimeval> for ntptimeval
pub fn eq(&self, other: &ntptimeval) -> bool
pub fn ne(&self, other: &ntptimeval) -> bool
impl PartialEq<packet_mreq> for packet_mreq
impl PartialEq<packet_mreq> for packet_mreq
pub fn eq(&self, other: &packet_mreq) -> bool
pub fn ne(&self, other: &packet_mreq) -> bool
pub fn eq(&self, other: &posix_spawn_file_actions_t) -> bool
pub fn ne(&self, other: &posix_spawn_file_actions_t) -> bool
impl PartialEq<posix_spawnattr_t> for posix_spawnattr_t
impl PartialEq<posix_spawnattr_t> for posix_spawnattr_t
pub fn eq(&self, other: &posix_spawnattr_t) -> bool
pub fn ne(&self, other: &posix_spawnattr_t) -> bool
impl PartialEq<pthread_attr_t> for pthread_attr_t
impl PartialEq<pthread_attr_t> for pthread_attr_t
pub fn eq(&self, other: &pthread_attr_t) -> bool
pub fn ne(&self, other: &pthread_attr_t) -> bool
impl PartialEq<pthread_cond_t> for pthread_cond_t
impl PartialEq<pthread_cond_t> for pthread_cond_t
pub fn eq(&self, other: &pthread_cond_t) -> bool
impl PartialEq<pthread_condattr_t> for pthread_condattr_t
impl PartialEq<pthread_condattr_t> for pthread_condattr_t
pub fn eq(&self, other: &pthread_condattr_t) -> bool
pub fn ne(&self, other: &pthread_condattr_t) -> bool
impl PartialEq<pthread_mutex_t> for pthread_mutex_t
impl PartialEq<pthread_mutex_t> for pthread_mutex_t
pub fn eq(&self, other: &pthread_mutex_t) -> bool
impl PartialEq<pthread_mutexattr_t> for pthread_mutexattr_t
impl PartialEq<pthread_mutexattr_t> for pthread_mutexattr_t
pub fn eq(&self, other: &pthread_mutexattr_t) -> bool
pub fn ne(&self, other: &pthread_mutexattr_t) -> bool
impl PartialEq<pthread_rwlock_t> for pthread_rwlock_t
impl PartialEq<pthread_rwlock_t> for pthread_rwlock_t
pub fn eq(&self, other: &pthread_rwlock_t) -> bool
pub fn eq(&self, other: &pthread_rwlockattr_t) -> bool
pub fn ne(&self, other: &pthread_rwlockattr_t) -> bool
impl PartialEq<regmatch_t> for regmatch_t
impl PartialEq<regmatch_t> for regmatch_t
pub fn eq(&self, other: ®match_t) -> bool
pub fn ne(&self, other: ®match_t) -> bool
impl PartialEq<sched_param> for sched_param
impl PartialEq<sched_param> for sched_param
pub fn eq(&self, other: &sched_param) -> bool
pub fn ne(&self, other: &sched_param) -> bool
impl PartialEq<sock_extended_err> for sock_extended_err
impl PartialEq<sock_extended_err> for sock_extended_err
pub fn eq(&self, other: &sock_extended_err) -> bool
pub fn ne(&self, other: &sock_extended_err) -> bool
impl PartialEq<sockaddr_alg> for sockaddr_alg
impl PartialEq<sockaddr_alg> for sockaddr_alg
pub fn eq(&self, other: &sockaddr_alg) -> bool
impl PartialEq<sockaddr_ll> for sockaddr_ll
impl PartialEq<sockaddr_ll> for sockaddr_ll
pub fn eq(&self, other: &sockaddr_ll) -> bool
pub fn ne(&self, other: &sockaddr_ll) -> bool
impl PartialEq<sockaddr_nl> for sockaddr_nl
impl PartialEq<sockaddr_nl> for sockaddr_nl
pub fn eq(&self, other: &sockaddr_nl) -> bool
impl PartialEq<sockaddr_vm> for sockaddr_vm
impl PartialEq<sockaddr_vm> for sockaddr_vm
pub fn eq(&self, other: &sockaddr_vm) -> bool
pub fn ne(&self, other: &sockaddr_vm) -> bool
impl PartialEq<statx_timestamp> for statx_timestamp
impl PartialEq<statx_timestamp> for statx_timestamp
pub fn eq(&self, other: &statx_timestamp) -> bool
pub fn ne(&self, other: &statx_timestamp) -> bool
impl PartialEq<ucontext_t> for ucontext_t
impl PartialEq<ucontext_t> for ucontext_t
pub fn eq(&self, other: &ucontext_t) -> bool
impl PartialEq<uinput_abs_setup> for uinput_abs_setup
impl PartialEq<uinput_abs_setup> for uinput_abs_setup
pub fn eq(&self, other: &uinput_abs_setup) -> bool
pub fn ne(&self, other: &uinput_abs_setup) -> bool
impl PartialEq<uinput_ff_erase> for uinput_ff_erase
impl PartialEq<uinput_ff_erase> for uinput_ff_erase
pub fn eq(&self, other: &uinput_ff_erase) -> bool
pub fn ne(&self, other: &uinput_ff_erase) -> bool
impl PartialEq<uinput_ff_upload> for uinput_ff_upload
impl PartialEq<uinput_ff_upload> for uinput_ff_upload
pub fn eq(&self, other: &uinput_ff_upload) -> bool
pub fn ne(&self, other: &uinput_ff_upload) -> bool
impl PartialEq<uinput_setup> for uinput_setup
impl PartialEq<uinput_setup> for uinput_setup
pub fn eq(&self, other: &uinput_setup) -> bool
impl PartialEq<uinput_user_dev> for uinput_user_dev
impl PartialEq<uinput_user_dev> for uinput_user_dev
pub fn eq(&self, other: &uinput_user_dev) -> bool
impl PartialEq<user_fpregs_struct> for user_fpregs_struct
impl PartialEq<user_fpregs_struct> for user_fpregs_struct
pub fn eq(&self, other: &user_fpregs_struct) -> bool
impl PartialEq<user_regs_struct> for user_regs_struct
impl PartialEq<user_regs_struct> for user_regs_struct
pub fn eq(&self, other: &user_regs_struct) -> bool
pub fn ne(&self, other: &user_regs_struct) -> bool
impl PartialEq<OwningIter> for OwningIter
impl PartialEq<OwningIter> for OwningIter
pub fn eq(&self, other: &OwningIter) -> bool
pub fn ne(&self, other: &OwningIter) -> bool
impl PartialEq<FallocateFlags> for FallocateFlags
impl PartialEq<FallocateFlags> for FallocateFlags
pub fn eq(&self, other: &FallocateFlags) -> bool
pub fn ne(&self, other: &FallocateFlags) -> bool
impl PartialEq<SpliceFFlags> for SpliceFFlags
impl PartialEq<SpliceFFlags> for SpliceFFlags
pub fn eq(&self, other: &SpliceFFlags) -> bool
pub fn ne(&self, other: &SpliceFFlags) -> bool
impl PartialEq<InterfaceAddress> for InterfaceAddress
impl PartialEq<InterfaceAddress> for InterfaceAddress
pub fn eq(&self, other: &InterfaceAddress) -> bool
pub fn ne(&self, other: &InterfaceAddress) -> bool
pub fn eq(&self, other: &InterfaceAddressIterator) -> bool
pub fn ne(&self, other: &InterfaceAddressIterator) -> bool
impl PartialEq<DeleteModuleFlags> for DeleteModuleFlags
impl PartialEq<DeleteModuleFlags> for DeleteModuleFlags
pub fn eq(&self, other: &DeleteModuleFlags) -> bool
pub fn ne(&self, other: &DeleteModuleFlags) -> bool
impl PartialEq<ModuleInitFlags> for ModuleInitFlags
impl PartialEq<ModuleInitFlags> for ModuleInitFlags
pub fn eq(&self, other: &ModuleInitFlags) -> bool
pub fn ne(&self, other: &ModuleInitFlags) -> bool
impl PartialEq<InterfaceFlags> for InterfaceFlags
impl PartialEq<InterfaceFlags> for InterfaceFlags
pub fn eq(&self, other: &InterfaceFlags) -> bool
pub fn ne(&self, other: &InterfaceFlags) -> bool
impl PartialEq<OpenptyResult> for OpenptyResult
impl PartialEq<OpenptyResult> for OpenptyResult
pub fn eq(&self, other: &OpenptyResult) -> bool
pub fn ne(&self, other: &OpenptyResult) -> bool
impl PartialEq<CloneFlags> for CloneFlags
impl PartialEq<CloneFlags> for CloneFlags
pub fn eq(&self, other: &CloneFlags) -> bool
pub fn ne(&self, other: &CloneFlags) -> bool
impl PartialEq<EpollCreateFlags> for EpollCreateFlags
impl PartialEq<EpollCreateFlags> for EpollCreateFlags
pub fn eq(&self, other: &EpollCreateFlags) -> bool
pub fn ne(&self, other: &EpollCreateFlags) -> bool
impl PartialEq<EpollEvent> for EpollEvent
impl PartialEq<EpollEvent> for EpollEvent
pub fn eq(&self, other: &EpollEvent) -> bool
pub fn ne(&self, other: &EpollEvent) -> bool
impl PartialEq<EpollFlags> for EpollFlags
impl PartialEq<EpollFlags> for EpollFlags
pub fn eq(&self, other: &EpollFlags) -> bool
pub fn ne(&self, other: &EpollFlags) -> bool
impl PartialEq<AddWatchFlags> for AddWatchFlags
impl PartialEq<AddWatchFlags> for AddWatchFlags
pub fn eq(&self, other: &AddWatchFlags) -> bool
pub fn ne(&self, other: &AddWatchFlags) -> bool
impl PartialEq<WatchDescriptor> for otter_api_tests::imports::nix::sys::inotify::WatchDescriptor
impl PartialEq<WatchDescriptor> for otter_api_tests::imports::nix::sys::inotify::WatchDescriptor
pub fn eq(&self, other: &WatchDescriptor) -> bool
pub fn ne(&self, other: &WatchDescriptor) -> bool
impl PartialEq<MemFdCreateFlag> for MemFdCreateFlag
impl PartialEq<MemFdCreateFlag> for MemFdCreateFlag
pub fn eq(&self, other: &MemFdCreateFlag) -> bool
pub fn ne(&self, other: &MemFdCreateFlag) -> bool
impl PartialEq<MRemapFlags> for MRemapFlags
impl PartialEq<MRemapFlags> for MRemapFlags
pub fn eq(&self, other: &MRemapFlags) -> bool
pub fn ne(&self, other: &MRemapFlags) -> bool
impl PartialEq<MlockAllFlags> for MlockAllFlags
impl PartialEq<MlockAllFlags> for MlockAllFlags
pub fn eq(&self, other: &MlockAllFlags) -> bool
pub fn ne(&self, other: &MlockAllFlags) -> bool
impl PartialEq<QuotaValidFlags> for QuotaValidFlags
impl PartialEq<QuotaValidFlags> for QuotaValidFlags
pub fn eq(&self, other: &QuotaValidFlags) -> bool
pub fn ne(&self, other: &QuotaValidFlags) -> bool
impl PartialEq<SignalIterator> for SignalIterator
impl PartialEq<SignalIterator> for SignalIterator
pub fn eq(&self, other: &SignalIterator) -> bool
pub fn ne(&self, other: &SignalIterator) -> bool
impl PartialEq<signalfd_siginfo> for signalfd_siginfo
impl PartialEq<signalfd_siginfo> for signalfd_siginfo
pub fn eq(&self, other: &signalfd_siginfo) -> bool
pub fn ne(&self, other: &signalfd_siginfo) -> bool
impl PartialEq<AcceptConn> for AcceptConn
impl PartialEq<AcceptConn> for AcceptConn
pub fn eq(&self, other: &AcceptConn) -> bool
impl PartialEq<BindToDevice> for BindToDevice
impl PartialEq<BindToDevice> for BindToDevice
pub fn eq(&self, other: &BindToDevice) -> bool
impl PartialEq<IpAddMembership> for IpAddMembership
impl PartialEq<IpAddMembership> for IpAddMembership
pub fn eq(&self, other: &IpAddMembership) -> bool
impl PartialEq<IpDropMembership> for IpDropMembership
impl PartialEq<IpDropMembership> for IpDropMembership
pub fn eq(&self, other: &IpDropMembership) -> bool
impl PartialEq<IpMulticastLoop> for IpMulticastLoop
impl PartialEq<IpMulticastLoop> for IpMulticastLoop
pub fn eq(&self, other: &IpMulticastLoop) -> bool
impl PartialEq<IpMulticastTtl> for IpMulticastTtl
impl PartialEq<IpMulticastTtl> for IpMulticastTtl
pub fn eq(&self, other: &IpMulticastTtl) -> bool
impl PartialEq<IpTransparent> for IpTransparent
impl PartialEq<IpTransparent> for IpTransparent
pub fn eq(&self, other: &IpTransparent) -> bool
impl PartialEq<Ipv4PacketInfo> for Ipv4PacketInfo
impl PartialEq<Ipv4PacketInfo> for Ipv4PacketInfo
pub fn eq(&self, other: &Ipv4PacketInfo) -> bool
impl PartialEq<Ipv6AddMembership> for Ipv6AddMembership
impl PartialEq<Ipv6AddMembership> for Ipv6AddMembership
pub fn eq(&self, other: &Ipv6AddMembership) -> bool
impl PartialEq<Ipv6DropMembership> for Ipv6DropMembership
impl PartialEq<Ipv6DropMembership> for Ipv6DropMembership
pub fn eq(&self, other: &Ipv6DropMembership) -> bool
impl PartialEq<Ipv6RecvPacketInfo> for Ipv6RecvPacketInfo
impl PartialEq<Ipv6RecvPacketInfo> for Ipv6RecvPacketInfo
pub fn eq(&self, other: &Ipv6RecvPacketInfo) -> bool
impl PartialEq<OriginalDst> for OriginalDst
impl PartialEq<OriginalDst> for OriginalDst
pub fn eq(&self, other: &OriginalDst) -> bool
impl PartialEq<PeerCredentials> for PeerCredentials
impl PartialEq<PeerCredentials> for PeerCredentials
pub fn eq(&self, other: &PeerCredentials) -> bool
impl PartialEq<RcvBufForce> for RcvBufForce
impl PartialEq<RcvBufForce> for RcvBufForce
pub fn eq(&self, other: &RcvBufForce) -> bool
impl PartialEq<ReceiveTimeout> for ReceiveTimeout
impl PartialEq<ReceiveTimeout> for ReceiveTimeout
pub fn eq(&self, other: &ReceiveTimeout) -> bool
impl PartialEq<ReceiveTimestamp> for ReceiveTimestamp
impl PartialEq<ReceiveTimestamp> for ReceiveTimestamp
pub fn eq(&self, other: &ReceiveTimestamp) -> bool
impl PartialEq<ReceiveTimestampns> for ReceiveTimestampns
impl PartialEq<ReceiveTimestampns> for ReceiveTimestampns
pub fn eq(&self, other: &ReceiveTimestampns) -> bool
impl PartialEq<SendTimeout> for SendTimeout
impl PartialEq<SendTimeout> for SendTimeout
pub fn eq(&self, other: &SendTimeout) -> bool
impl PartialEq<SndBufForce> for SndBufForce
impl PartialEq<SndBufForce> for SndBufForce
pub fn eq(&self, other: &SndBufForce) -> bool
impl PartialEq<SocketError> for SocketError
impl PartialEq<SocketError> for SocketError
pub fn eq(&self, other: &SocketError) -> bool
impl PartialEq<TcpCongestion> for TcpCongestion
impl PartialEq<TcpCongestion> for TcpCongestion
pub fn eq(&self, other: &TcpCongestion) -> bool
impl PartialEq<TcpKeepCount> for TcpKeepCount
impl PartialEq<TcpKeepCount> for TcpKeepCount
pub fn eq(&self, other: &TcpKeepCount) -> bool
impl PartialEq<TcpKeepIdle> for TcpKeepIdle
impl PartialEq<TcpKeepIdle> for TcpKeepIdle
pub fn eq(&self, other: &TcpKeepIdle) -> bool
impl PartialEq<TcpKeepInterval> for TcpKeepInterval
impl PartialEq<TcpKeepInterval> for TcpKeepInterval
pub fn eq(&self, other: &TcpKeepInterval) -> bool
impl PartialEq<TcpNoDelay> for TcpNoDelay
impl PartialEq<TcpNoDelay> for TcpNoDelay
pub fn eq(&self, other: &TcpNoDelay) -> bool
impl PartialEq<UdpGroSegment> for UdpGroSegment
impl PartialEq<UdpGroSegment> for UdpGroSegment
pub fn eq(&self, other: &UdpGroSegment) -> bool
impl PartialEq<UdpGsoSegment> for UdpGsoSegment
impl PartialEq<UdpGsoSegment> for UdpGsoSegment
pub fn eq(&self, other: &UdpGsoSegment) -> bool
impl PartialEq<IpMembershipRequest> for IpMembershipRequest
impl PartialEq<IpMembershipRequest> for IpMembershipRequest
pub fn eq(&self, other: &IpMembershipRequest) -> bool
pub fn ne(&self, other: &IpMembershipRequest) -> bool
pub fn eq(&self, other: &Ipv6MembershipRequest) -> bool
pub fn ne(&self, other: &Ipv6MembershipRequest) -> bool
impl PartialEq<NetlinkAddr> for NetlinkAddr
impl PartialEq<NetlinkAddr> for NetlinkAddr
pub fn eq(&self, other: &NetlinkAddr) -> bool
pub fn ne(&self, other: &NetlinkAddr) -> bool
impl PartialEq<UnixCredentials> for UnixCredentials
impl PartialEq<UnixCredentials> for UnixCredentials
pub fn eq(&self, other: &UnixCredentials) -> bool
pub fn ne(&self, other: &UnixCredentials) -> bool
impl PartialEq<sockaddr_in6> for sockaddr_in6
impl PartialEq<sockaddr_in6> for sockaddr_in6
pub fn eq(&self, other: &sockaddr_in6) -> bool
pub fn ne(&self, other: &sockaddr_in6) -> bool
impl PartialEq<sockaddr_in> for sockaddr_in
impl PartialEq<sockaddr_in> for sockaddr_in
pub fn eq(&self, other: &sockaddr_in) -> bool
pub fn ne(&self, other: &sockaddr_in) -> bool
impl PartialEq<sockaddr_storage> for sockaddr_storage
impl PartialEq<sockaddr_storage> for sockaddr_storage
pub fn eq(&self, other: &sockaddr_storage) -> bool
impl PartialEq<sockaddr_un> for sockaddr_un
impl PartialEq<sockaddr_un> for sockaddr_un
pub fn eq(&self, other: &sockaddr_un) -> bool
impl PartialEq<ControlFlags> for ControlFlags
impl PartialEq<ControlFlags> for ControlFlags
pub fn eq(&self, other: &ControlFlags) -> bool
pub fn ne(&self, other: &ControlFlags) -> bool
impl PartialEq<InputFlags> for InputFlags
impl PartialEq<InputFlags> for InputFlags
pub fn eq(&self, other: &InputFlags) -> bool
pub fn ne(&self, other: &InputFlags) -> bool
impl PartialEq<LocalFlags> for LocalFlags
impl PartialEq<LocalFlags> for LocalFlags
pub fn eq(&self, other: &LocalFlags) -> bool
pub fn ne(&self, other: &LocalFlags) -> bool
impl PartialEq<OutputFlags> for OutputFlags
impl PartialEq<OutputFlags> for OutputFlags
pub fn eq(&self, other: &OutputFlags) -> bool
pub fn ne(&self, other: &OutputFlags) -> bool
impl PartialEq<TimerFlags> for TimerFlags
impl PartialEq<TimerFlags> for TimerFlags
pub fn eq(&self, other: &TimerFlags) -> bool
pub fn ne(&self, other: &TimerFlags) -> bool
impl PartialEq<TimerSetTimeFlags> for TimerSetTimeFlags
impl PartialEq<TimerSetTimeFlags> for TimerSetTimeFlags
pub fn eq(&self, other: &TimerSetTimeFlags) -> bool
pub fn ne(&self, other: &TimerSetTimeFlags) -> bool
impl PartialEq<RemoteIoVec> for RemoteIoVec
impl PartialEq<RemoteIoVec> for RemoteIoVec
pub fn eq(&self, other: &RemoteIoVec) -> bool
pub fn ne(&self, other: &RemoteIoVec) -> bool
impl PartialEq<WaitPidFlag> for WaitPidFlag
impl PartialEq<WaitPidFlag> for WaitPidFlag
pub fn eq(&self, other: &WaitPidFlag) -> bool
pub fn ne(&self, other: &WaitPidFlag) -> bool
impl PartialEq<FloatIsNan> for FloatIsNan
impl PartialEq<FloatIsNan> for FloatIsNan
pub fn eq(&self, other: &FloatIsNan) -> bool
impl PartialEq<WaitTimeoutResult> for otter_api_tests::imports::parking_lot::WaitTimeoutResult
impl PartialEq<WaitTimeoutResult> for otter_api_tests::imports::parking_lot::WaitTimeoutResult
pub fn eq(&self, other: &WaitTimeoutResult) -> bool
pub fn ne(&self, other: &WaitTimeoutResult) -> bool
impl PartialEq<UnixSocketAddr> for UnixSocketAddr
impl PartialEq<UnixSocketAddr> for UnixSocketAddr
pub fn eq(&self, other: &UnixSocketAddr) -> bool
URLs compare like their serialization.
impl PartialEq<AccessFlags> for AccessFlags
impl PartialEq<AccessFlags> for AccessFlags
pub fn eq(&self, other: &AccessFlags) -> bool
pub fn ne(&self, other: &AccessFlags) -> bool
impl PartialEq<ParseError> for otter_api_tests::zcoord::ParseError
impl PartialEq<ParseError> for otter_api_tests::zcoord::ParseError
pub fn eq(&self, other: &ParseError) -> bool
impl PartialEq<RangeBackwards> for RangeBackwards
impl PartialEq<RangeBackwards> for RangeBackwards
pub fn eq(&self, other: &RangeBackwards) -> bool
pub fn eq(&self, other: &TotallyUnboundedRange) -> bool
impl<'a> PartialEq<ControlMessage<'a>> for ControlMessage<'a>
impl<'a> PartialEq<ControlMessage<'a>> for ControlMessage<'a>
pub fn eq(&self, other: &ControlMessage<'a>) -> bool
pub fn ne(&self, other: &ControlMessage<'a>) -> bool
impl<'a> PartialEq<CmsgIterator<'a>> for CmsgIterator<'a>
impl<'a> PartialEq<CmsgIterator<'a>> for CmsgIterator<'a>
pub fn eq(&self, other: &CmsgIterator<'a>) -> bool
pub fn ne(&self, other: &CmsgIterator<'a>) -> bool
impl<'a, 'b, A, B, I> PartialEq<&'b mut [B]> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
impl<'a, 'b, A, B, I> PartialEq<&'b mut [B]> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
pub fn eq(&self, other: &&'b mut [B]) -> bool
pub fn ne(&self, other: &&'b mut [B]) -> bool
impl<'a, 'b, A, B, I> PartialEq<&'b mut [B]> for otter_api_tests::shapelib::IndexVec<I, A> where
A: PartialEq<B>,
I: Idx,
impl<'a, 'b, A, B, I> PartialEq<&'b mut [B]> for otter_api_tests::shapelib::IndexVec<I, A> where
A: PartialEq<B>,
I: Idx,
pub fn eq(&self, other: &&'b mut [B]) -> bool
pub fn ne(&self, other: &&'b mut [B]) -> bool
impl<'a, 'b, A, B, I, J> PartialEq<&'a IndexSlice<J, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
J: Idx,
impl<'a, 'b, A, B, I, J> PartialEq<&'a IndexSlice<J, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
J: Idx,
pub fn eq(&self, other: &&'a IndexSlice<J, [B]>) -> bool
pub fn ne(&self, other: &&'a IndexSlice<J, [B]>) -> bool
impl<'a, 'b, A, B, I, J> PartialEq<&'a mut IndexSlice<J, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
J: Idx,
impl<'a, 'b, A, B, I, J> PartialEq<&'a mut IndexSlice<J, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
J: Idx,
pub fn eq(&self, other: &&'a mut IndexSlice<J, [B]>) -> bool
pub fn ne(&self, other: &&'a mut IndexSlice<J, [B]>) -> bool
pub fn eq(&self, other: &&'b IndexSlice<J, [B]>) -> bool
pub fn ne(&self, other: &&'b IndexSlice<J, [B]>) -> bool
pub fn eq(&self, other: &&'b mut IndexSlice<J, [B]>) -> bool
pub fn ne(&self, other: &&'b mut IndexSlice<J, [B]>) -> bool
impl<A, B> PartialEq<EitherOrBoth<A, B>> for EitherOrBoth<A, B> where
B: PartialEq<B>,
A: PartialEq<A>,
[src]
impl<A, B> PartialEq<EitherOrBoth<A, B>> for EitherOrBoth<A, B> where
B: PartialEq<B>,
A: PartialEq<A>,
[src]impl<B, C> PartialEq<ControlFlow<B, C>> for ControlFlow<B, C> where
C: PartialEq<C>,
B: PartialEq<B>,
[src]
impl<B, C> PartialEq<ControlFlow<B, C>> for ControlFlow<B, C> where
C: PartialEq<C>,
B: PartialEq<B>,
[src]impl<D> PartialEq<OccultationKindGeneral<D>> for OccultationKindGeneral<D> where
D: PartialEq<D>,
[src]
impl<D> PartialEq<OccultationKindGeneral<D>> for OccultationKindGeneral<D> where
D: PartialEq<D>,
[src]impl<E> PartialEq<ParseNotNanError<E>> for ParseNotNanError<E> where
E: PartialEq<E>,
impl<E> PartialEq<ParseNotNanError<E>> for ParseNotNanError<E> where
E: PartialEq<E>,
pub fn eq(&self, other: &ParseNotNanError<E>) -> bool
pub fn ne(&self, other: &ParseNotNanError<E>) -> bool
impl<I, A, B> PartialEq<IndexSlice<I, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
impl<I, A, B> PartialEq<IndexSlice<I, [B]>> for IndexSlice<I, [A]> where
A: PartialEq<B>,
I: Idx,
pub fn eq(&self, other: &IndexSlice<I, [B]>) -> bool
pub fn ne(&self, other: &IndexSlice<I, [B]>) -> bool
impl<Idx> PartialEq<RangeInclusive<Idx>> for RangeInclusive<Idx> where
Idx: PartialEq<Idx>,
1.26.0[src]
impl<Idx> PartialEq<RangeInclusive<Idx>> for RangeInclusive<Idx> where
Idx: PartialEq<Idx>,
1.26.0[src]impl<Idx> PartialEq<RangeToInclusive<Idx>> for RangeToInclusive<Idx> where
Idx: PartialEq<Idx>,
1.26.0[src]
impl<Idx> PartialEq<RangeToInclusive<Idx>> for RangeToInclusive<Idx> where
Idx: PartialEq<Idx>,
1.26.0[src]impl<K, V> PartialEq<SecondaryMap<K, V>> for SecondaryMap<K, V> where
K: Key,
V: PartialEq<V>,
[src]
impl<K, V> PartialEq<SecondaryMap<K, V>> for SecondaryMap<K, V> where
K: Key,
V: PartialEq<V>,
[src]impl<K, V, S> PartialEq<SparseSecondaryMap<K, V, S>> for SparseSecondaryMap<K, V, S> where
S: BuildHasher,
K: Key,
V: PartialEq<V>,
[src]
impl<K, V, S> PartialEq<SparseSecondaryMap<K, V, S>> for SparseSecondaryMap<K, V, S> where
S: BuildHasher,
K: Key,
V: PartialEq<V>,
[src]impl<T> PartialEq<TrySendError<T>> for otter_api_tests::mpsc::TrySendError<T> where
T: PartialEq<T>,
[src]
impl<T> PartialEq<TrySendError<T>> for otter_api_tests::mpsc::TrySendError<T> where
T: PartialEq<T>,
[src]Equality for two Arc
s.
Two Arc
s 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 Arc
s that point to the same allocation are always equal.
Examples
use std::sync::Arc; let five = Arc::new(5); assert!(five == Arc::new(5));
Inequality for two Arc
s.
Two Arc
s are unequal if their inner values are unequal.
If T
also implements Eq
(implying reflexivity of equality),
two Arc
s 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<T> PartialEq<OrderedFloat<T>> for OrderedFloat<T> where
T: Float,
impl<T> PartialEq<OrderedFloat<T>> for OrderedFloat<T> where
T: Float,
pub fn eq(&self, other: &OrderedFloat<T>) -> bool
impl<T> PartialEq<IsHtmlFormatted<T>> for IsHtmlFormatted<T> where
T: PartialEq<T> + Display,
impl<T> PartialEq<IsHtmlFormatted<T>> for IsHtmlFormatted<T> where
T: PartialEq<T> + Display,
pub fn eq(&self, other: &IsHtmlFormatted<T>) -> bool
pub fn ne(&self, other: &IsHtmlFormatted<T>) -> bool
impl<T, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
T: PartialEq<T>,
N: ArrayLength<T>,
impl<T, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
T: PartialEq<T>,
N: ArrayLength<T>,
pub fn eq(&self, other: &GenericArray<T, N>) -> bool
impl<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R> where
R: PartialEq<R>,
Y: PartialEq<Y>,
[src]
impl<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R> where
R: PartialEq<R>,
Y: PartialEq<Y>,
[src]