tcplane

Trait PartialEq

1.0.0 · Source
pub trait PartialEq<Rhs = Self>
where Rhs: ?Sized,
{ // Required method fn eq(&self, other: &Rhs) -> bool; // Provided method fn ne(&self, other: &Rhs) -> bool { ... } }
Expand description

Trait for comparisons using the equality operator.

Implementing this trait for types provides the == and != operators for those types.

x.eq(y) can also be written x == y, and x.ne(y) can be written x != y. We use the easier-to-read infix notation in the remainder of this documentation.

This trait allows for comparisons using the equality operator, 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 speaking, when Rhs == Self, this trait corresponds to a partial equivalence relation.

Implementations must ensure that eq and ne are consistent with each other:

  • a != b if and only if !(a == b).

The default implementation of ne provides this consistency and is almost always sufficient. It should not be overridden without very good reason.

If PartialOrd or Ord are also implemented for Self and Rhs, their methods must also be consistent with PartialEq (see the documentation of those traits for the exact requirements). It’s easy to accidentally make them disagree by deriving some of the traits and manually implementing others.

The equality relation == must satisfy the following conditions (for all a, b, c of type A, B, C):

  • Symmetry: if A: PartialEq<B> and B: PartialEq<A>, then a == b implies b == a; and

  • Transitivity: if A: PartialEq<B> and B: PartialEq<C> and A: PartialEq<C>, then a == b and b == c implies a == c. This must also work for longer chains, such as when A: PartialEq<B>, B: PartialEq<C>, C: PartialEq<D>, and A: PartialEq<D> all exist.

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.

Violating these requirements is a logic error. The behavior resulting from a logic error is not specified, but users of the trait must ensure that such logic errors do not result in undefined behavior. This means that unsafe code must not rely on the correctness of these methods.

§Cross-crate considerations

Upholding the requirements stated above can become tricky when one crate implements PartialEq for a type of another crate (i.e., to allow comparing one of its own types with a type from the standard library). The recommendation is to never implement this trait for a foreign type. In other words, such a crate should do impl PartialEq<ForeignType> for LocalType, but it should not do impl PartialEq<LocalType> for ForeignType.

This avoids the problem of transitive chains that criss-cross crate boundaries: for all local types T, you may assume that no other crate will add impls that allow comparing T == U. In other words, if other crates add impls that allow building longer transitive chains U1 == ... == T == V1 == ..., then all the types that appear to the right of T must be types that the crate defining T already knows about. This rules out transitive chains where downstream crates can add new impls that “stitch together” comparisons of foreign types in ways that violate transitivity.

Not having such foreign impls also avoids forward compatibility issues where one crate adding more PartialEq implementations can cause build failures in downstream crates.

§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, two instances are equal if they are the same variant and all fields are equal.

§How can I implement PartialEq?

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§

1.0.0 · Source

fn eq(&self, other: &Rhs) -> bool

Tests for self and other values to be equal, and is used by ==.

Provided Methods§

1.0.0 · Source

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§

1.0.0 · Source§

impl PartialEq for tcplane::atomic::Ordering

Source§

impl PartialEq for BacktraceStyle

Source§

impl PartialEq for AsciiChar

Source§

impl PartialEq for Color

Source§

impl PartialEq for ColorType

1.0.0 · Source§

impl PartialEq for FpCategory

Source§

impl PartialEq for GetManyMutError

1.34.0 · Source§

impl PartialEq for Infallible

1.55.0 · Source§

impl PartialEq for IntErrorKind

1.7.0 · Source§

impl PartialEq for IpAddr

Source§

impl PartialEq for Ipv6MulticastScope

1.0.0 · Source§

impl PartialEq for tcplane::Ordering

1.0.0 · Source§

impl PartialEq for Shutdown

1.0.0 · Source§

impl PartialEq for SocketAddr

Source§

impl PartialEq for TryReserveErrorKind

1.28.0 · Source§

impl PartialEq for core::fmt::Alignment

Source§

impl PartialEq for DebugAsHex

Source§

impl PartialEq for Sign

1.65.0 · Source§

impl PartialEq for BacktraceStatus

1.0.0 · Source§

impl PartialEq for VarError

1.0.0 · Source§

impl PartialEq for SeekFrom

1.0.0 · Source§

impl PartialEq for std::io::error::ErrorKind

Source§

impl PartialEq for _Unwind_Action

Source§

impl PartialEq for _Unwind_Reason_Code

Source§

impl PartialEq for FromHexError

Source§

impl PartialEq for ContentType

Source§

impl PartialEq for FileExtension

Source§

impl PartialEq for HttpVersion

Source§

impl PartialEq for Methods

Source§

impl PartialEq for Protocol

Source§

impl PartialEq for TrieResult

Source§

impl PartialEq for TrieType

Source§

impl PartialEq for icu_collections::codepointtrie::error::Error

Source§

impl PartialEq for ExtensionType

Source§

impl PartialEq for ParserError

Source§

impl PartialEq for Direction

Source§

impl PartialEq for TransformResult

Source§

impl PartialEq for LocaleTransformError

Source§

impl PartialEq for Decomposed

Source§

impl PartialEq for BidiPairingProperties

Source§

impl PartialEq for PropertiesError

Source§

impl PartialEq for GeneralCategory

Source§

impl PartialEq for CheckedBidiPairedBracketType

Source§

impl PartialEq for BufferFormat

Source§

impl PartialEq for DataErrorKind

Source§

impl PartialEq for LocaleFallbackPriority

Source§

impl PartialEq for LocaleFallbackSupplement

Source§

impl PartialEq for DnsLength

Source§

impl PartialEq for ErrorPolicy

Source§

impl PartialEq for Hyphens

Source§

impl PartialEq for ProcessingError

Source§

impl PartialEq for ProcessingSuccess

Source§

impl PartialEq for Level

Source§

impl PartialEq for LevelFilter

Source§

impl PartialEq for Category

Source§

impl PartialEq for serde_json::value::Value

Source§

impl PartialEq for serde_urlencoded::ser::Error

Source§

impl PartialEq for TinyStrError

Source§

impl PartialEq for Origin

Source§

impl PartialEq for ParseError

Source§

impl PartialEq for SyntaxViolation

Source§

impl PartialEq for XmlVersion

Source§

impl PartialEq for xml::reader::error::ErrorKind

Source§

impl PartialEq for XmlEvent

Source§

impl PartialEq for Encoding

Source§

impl PartialEq for ZeroVecError

1.12.0 · Source§

impl PartialEq for RecvTimeoutError

1.0.0 · Source§

impl PartialEq for TryRecvError

Source§

impl PartialEq for SearchStep

1.0.0 · Source§

impl PartialEq for bool

1.0.0 · Source§

impl PartialEq for char

1.0.0 · Source§

impl PartialEq for f16

1.0.0 · Source§

impl PartialEq for f32

1.0.0 · Source§

impl PartialEq for f64

1.0.0 · Source§

impl PartialEq for f128

1.0.0 · Source§

impl PartialEq for i8

1.0.0 · Source§

impl PartialEq for i16

1.0.0 · Source§

impl PartialEq for i32

1.0.0 · Source§

impl PartialEq for i64

1.0.0 · Source§

impl PartialEq for i128

1.0.0 · Source§

impl PartialEq for isize

Source§

impl PartialEq for !

1.0.0 · Source§

impl PartialEq for str

1.0.0 · Source§

impl PartialEq for u8

1.0.0 · Source§

impl PartialEq for u16

1.0.0 · Source§

impl PartialEq for u32

1.0.0 · Source§

impl PartialEq for u64

1.0.0 · Source§

impl PartialEq for u128

1.0.0 · Source§

impl PartialEq for ()

1.0.0 · Source§

impl PartialEq for usize

Source§

impl PartialEq for UnorderedKeyError

1.64.0 · Source§

impl PartialEq for CString

1.64.0 · Source§

impl PartialEq for FromVecWithNulError

1.64.0 · Source§

impl PartialEq for IntoStringError

1.64.0 · Source§

impl PartialEq for NulError

1.28.0 · Source§

impl PartialEq for Layout

1.50.0 · Source§

impl PartialEq for LayoutError

Source§

impl PartialEq for AllocError

1.27.0 · Source§

impl PartialEq for CpuidResult

1.64.0 · Source§

impl PartialEq for CStr

1.69.0 · Source§

impl PartialEq for FromBytesUntilNulError

1.64.0 · Source§

impl PartialEq for FromBytesWithNulError

1.0.0 · Source§

impl PartialEq for core::fmt::Error

Source§

impl PartialEq for FormattingOptions

1.33.0 · Source§

impl PartialEq for PhantomPinned

1.36.0 · Source§

impl PartialEq for RawWaker

1.36.0 · Source§

impl PartialEq for RawWakerVTable

1.3.0 · Source§

impl PartialEq for Duration

1.66.0 · Source§

impl PartialEq for TryFromFloatSecsError

1.0.0 · Source§

impl PartialEq for OsStr

1.0.0 · Source§

impl PartialEq for OsString

1.1.0 · Source§

impl PartialEq for FileType

1.0.0 · Source§

impl PartialEq for Permissions

1.61.0 · Source§

impl PartialEq for ExitCode

1.0.0 · Source§

impl PartialEq for ExitStatus

Source§

impl PartialEq for ExitStatusError

1.0.0 · Source§

impl PartialEq for Output

1.26.0 · Source§

impl PartialEq for AccessError

1.19.0 · Source§

impl PartialEq for ThreadId

1.8.0 · Source§

impl PartialEq for Instant

1.8.0 · Source§

impl PartialEq for SystemTime

Source§

impl PartialEq for HttpUrlComponents

Source§

impl PartialEq for CodePointInversionListULE

Source§

impl PartialEq for CodePointInversionListAndStringListULE

Source§

impl PartialEq for CodePointTrieHeader

Source§

impl PartialEq for Other

Source§

impl PartialEq for icu_locid::extensions::other::subtag::Subtag

Source§

impl PartialEq for icu_locid::extensions::private::other::Subtag

Source§

impl PartialEq for Private

Source§

impl PartialEq for Extensions

Source§

impl PartialEq for Fields

Source§

impl PartialEq for icu_locid::extensions::transform::key::Key

Source§

impl PartialEq for Transform

Source§

impl PartialEq for icu_locid::extensions::transform::value::Value

Source§

impl PartialEq for icu_locid::extensions::unicode::attribute::Attribute

Source§

impl PartialEq for Attributes

Source§

impl PartialEq for icu_locid::extensions::unicode::key::Key

Source§

impl PartialEq for Keywords

Source§

impl PartialEq for Unicode

Source§

impl PartialEq for icu_locid::extensions::unicode::value::Value

Source§

impl PartialEq for LanguageIdentifier

Source§

impl PartialEq for Locale

Source§

impl PartialEq for Language

Source§

impl PartialEq for Region

Source§

impl PartialEq for icu_locid::subtags::script::Script

Source§

impl PartialEq for Variant

Source§

impl PartialEq for Variants

Source§

impl PartialEq for LanguageStrStrPairVarULE

Source§

impl PartialEq for StrStrPairVarULE

Source§

impl PartialEq for BidiMirroringProperties

Source§

impl PartialEq for BidiClass

Source§

impl PartialEq for CanonicalCombiningClass

Source§

impl PartialEq for EastAsianWidth

Source§

impl PartialEq for GeneralCategoryGroup

Source§

impl PartialEq for GraphemeClusterBreak

Source§

impl PartialEq for HangulSyllableType

Source§

impl PartialEq for IndicSyllabicCategory

Source§

impl PartialEq for JoiningType

Source§

impl PartialEq for LineBreak

Source§

impl PartialEq for icu_properties::props::Script

Source§

impl PartialEq for SentenceBreak

Source§

impl PartialEq for WordBreak

Source§

impl PartialEq for CheckedBidiPairedBracketTypeULE

Source§

impl PartialEq for MirroredPairedBracketDataTryFromError

Source§

impl PartialEq for NormalizedPropertyNameStr

Source§

impl PartialEq for DataError

Source§

impl PartialEq for LocaleFallbackConfig

Source§

impl PartialEq for HelloWorldProvider

Source§

impl PartialEq for DataKey

Source§

impl PartialEq for DataKeyHash

Source§

impl PartialEq for DataKeyMetadata

Source§

impl PartialEq for DataKeyPath

Source§

impl PartialEq for DataLocale

Source§

impl PartialEq for DataRequestMetadata

Source§

impl PartialEq for DataResponseMetadata

Source§

impl PartialEq for AsciiDenyList

Source§

impl PartialEq for ParseLevelError

Source§

impl PartialEq for IgnoredAny

Source§

impl PartialEq for serde::de::value::Error

Source§

impl PartialEq for Map<String, Value>

Source§

impl PartialEq for Number

Source§

impl PartialEq for OpaqueOrigin

Source§

impl PartialEq for Url

URLs compare like their serialization.

Source§

impl PartialEq for Utf8CharsError

Source§

impl PartialEq for Utf16CharsError

Source§

impl PartialEq for LengthHint

Source§

impl PartialEq for Part

Source§

impl PartialEq for OwnedAttribute

Source§

impl PartialEq for TextPosition

Source§

impl PartialEq for OwnedName

Source§

impl PartialEq for Namespace

Source§

impl PartialEq for NamespaceStack

Source§

impl PartialEq for ParserConfig2

Source§

impl PartialEq for ParserConfig

Source§

impl PartialEq for xml::reader::error::Error

Source§

impl PartialEq for EmitterConfig

Source§

impl PartialEq for FlexZeroVecOwned

Source§

impl PartialEq for FlexZeroSlice

Source§

impl PartialEq for CharULE

Source§

impl PartialEq for MultiFieldsULE

Source§

impl PartialEq for UnvalidatedChar

Source§

impl PartialEq for UnvalidatedStr

Source§

impl PartialEq for Index16

Source§

impl PartialEq for Index32

1.0.0 · Source§

impl PartialEq for RecvError

1.0.0 · Source§

impl PartialEq for AddrParseError

Source§

impl PartialEq for tcplane::Alignment

Source§

impl PartialEq for Assume

1.34.0 · Source§

impl PartialEq for CharTryFromError

1.9.0 · Source§

impl PartialEq for DecodeUtf16Error

1.0.0 · Source§

impl PartialEq for FromUtf8Error

1.0.0 · Source§

impl PartialEq for Ipv4Addr

1.0.0 · Source§

impl PartialEq for Ipv6Addr

1.0.0 · Source§

impl PartialEq for ParseBoolError

1.20.0 · Source§

impl PartialEq for ParseCharError

1.0.0 · Source§

impl PartialEq for ParseFloatError

1.0.0 · Source§

impl PartialEq for ParseIntError

1.0.0 · Source§

impl PartialEq for Path

1.0.0 · Source§

impl PartialEq for PathBuf

1.0.0 · Source§

impl PartialEq for RangeFull

1.0.0 · Source§

impl PartialEq for SocketAddrV4

1.0.0 · Source§

impl PartialEq for SocketAddrV6

1.0.0 · Source§

impl PartialEq for String

1.7.0 · Source§

impl PartialEq for StripPrefixError

1.59.0 · Source§

impl PartialEq for TryFromCharError

1.34.0 · Source§

impl PartialEq for TryFromIntError

1.57.0 · Source§

impl PartialEq for TryReserveError

1.0.0 · Source§

impl PartialEq for TypeId

1.0.0 · Source§

impl PartialEq for Utf8Error

1.5.0 · Source§

impl PartialEq for WaitTimeoutResult

Source§

impl PartialEq for UCred

Source§

impl PartialEq<&str> for serde_json::value::Value

1.29.0 · Source§

impl PartialEq<&str> for OsString

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv4Addr

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv6Addr

Source§

impl PartialEq<Level> for LevelFilter

Source§

impl PartialEq<LevelFilter> for Level

Source§

impl PartialEq<Value> for &str

Source§

impl PartialEq<Value> for bool

Source§

impl PartialEq<Value> for f32

Source§

impl PartialEq<Value> for f64

Source§

impl PartialEq<Value> for i8

Source§

impl PartialEq<Value> for i16

Source§

impl PartialEq<Value> for i32

Source§

impl PartialEq<Value> for i64

Source§

impl PartialEq<Value> for isize

Source§

impl PartialEq<Value> for str

Source§

impl PartialEq<Value> for u8

Source§

impl PartialEq<Value> for u16

Source§

impl PartialEq<Value> for u32

Source§

impl PartialEq<Value> for u64

Source§

impl PartialEq<Value> for usize

Source§

impl PartialEq<Value> for String

Source§

impl PartialEq<bool> for serde_json::value::Value

Source§

impl PartialEq<f32> for serde_json::value::Value

Source§

impl PartialEq<f64> for serde_json::value::Value

Source§

impl PartialEq<i8> for serde_json::value::Value

Source§

impl PartialEq<i16> for serde_json::value::Value

Source§

impl PartialEq<i32> for serde_json::value::Value

Source§

impl PartialEq<i64> for serde_json::value::Value

Source§

impl PartialEq<isize> for serde_json::value::Value

Source§

impl PartialEq<str> for serde_json::value::Value

1.0.0 · Source§

impl PartialEq<str> for OsStr

1.0.0 · Source§

impl PartialEq<str> for OsString

Source§

impl PartialEq<u8> for serde_json::value::Value

Source§

impl PartialEq<u16> for serde_json::value::Value

Source§

impl PartialEq<u32> for serde_json::value::Value

Source§

impl PartialEq<u64> for serde_json::value::Value

Source§

impl PartialEq<usize> for serde_json::value::Value

1.0.0 · Source§

impl PartialEq<OsStr> for str

1.8.0 · Source§

impl PartialEq<OsStr> for Path

1.8.0 · Source§

impl PartialEq<OsStr> for PathBuf

1.0.0 · Source§

impl PartialEq<OsString> for str

1.8.0 · Source§

impl PartialEq<OsString> for Path

1.8.0 · Source§

impl PartialEq<OsString> for PathBuf

1.16.0 · Source§

impl PartialEq<Ipv4Addr> for IpAddr

1.16.0 · Source§

impl PartialEq<Ipv6Addr> for IpAddr

1.8.0 · Source§

impl PartialEq<Path> for OsStr

1.8.0 · Source§

impl PartialEq<Path> for OsString

1.6.0 · Source§

impl PartialEq<Path> for PathBuf

1.8.0 · Source§

impl PartialEq<PathBuf> for OsStr

1.8.0 · Source§

impl PartialEq<PathBuf> for OsString

1.6.0 · Source§

impl PartialEq<PathBuf> for Path

Source§

impl PartialEq<String> for serde_json::value::Value

1.0.0 · Source§

impl<'a> PartialEq for Component<'a>

1.0.0 · Source§

impl<'a> PartialEq for Prefix<'a>

Source§

impl<'a> PartialEq for Unexpected<'a>

Source§

impl<'a> PartialEq for Utf8Pattern<'a>

Source§

impl<'a> PartialEq for LocaleFallbackerBorrowed<'a>

Source§

impl<'a> PartialEq for LocaleFallbackerWithConfig<'a>

Source§

impl<'a> PartialEq for LanguageStrStrPair<'a>

Source§

impl<'a> PartialEq for StrStrPair<'a>

Source§

impl<'a> PartialEq for ScriptExtensionsSet<'a>

Source§

impl<'a> PartialEq for DataRequest<'a>

Source§

impl<'a> PartialEq for Metadata<'a>

Source§

impl<'a> PartialEq for MetadataBuilder<'a>

Source§

impl<'a> PartialEq for xml::attribute::Attribute<'a>

Source§

impl<'a> PartialEq for Name<'a>

1.0.0 · Source§

impl<'a> PartialEq for Components<'a>

1.10.0 · Source§

impl<'a> PartialEq for Location<'a>

1.0.0 · Source§

impl<'a> PartialEq for PrefixComponent<'a>

1.79.0 · Source§

impl<'a> PartialEq for Utf8Chunk<'a>

1.8.0 · Source§

impl<'a> PartialEq<&'a OsStr> for Path

1.8.0 · Source§

impl<'a> PartialEq<&'a OsStr> for PathBuf

1.8.0 · Source§

impl<'a> PartialEq<&'a Path> for OsStr

1.8.0 · Source§

impl<'a> PartialEq<&'a Path> for OsString

1.6.0 · Source§

impl<'a> PartialEq<&'a Path> for PathBuf

1.8.0 · Source§

impl<'a> PartialEq<Cow<'a, OsStr>> for Path

1.8.0 · Source§

impl<'a> PartialEq<Cow<'a, OsStr>> for PathBuf

1.8.0 · Source§

impl<'a> PartialEq<Cow<'a, Path>> for OsStr

1.8.0 · Source§

impl<'a> PartialEq<Cow<'a, Path>> for OsString

1.6.0 · Source§

impl<'a> PartialEq<Cow<'a, Path>> for Path

1.6.0 · Source§

impl<'a> PartialEq<Cow<'a, Path>> for PathBuf

Source§

impl<'a> PartialEq<bool> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<bool> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<f32> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<f32> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<f64> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<f64> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<i8> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<i8> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<i16> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<i16> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<i32> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<i32> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<i64> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<i64> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<isize> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<isize> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<u8> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<u8> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<u16> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<u16> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<u32> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<u32> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<u64> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<u64> for &'a mut serde_json::value::Value

Source§

impl<'a> PartialEq<usize> for &'a serde_json::value::Value

Source§

impl<'a> PartialEq<usize> for &'a mut serde_json::value::Value

1.8.0 · Source§

impl<'a> PartialEq<OsStr> for &'a Path

1.8.0 · Source§

impl<'a> PartialEq<OsStr> for Cow<'a, Path>

1.29.0 · Source§

impl<'a> PartialEq<OsString> for &'a str

1.8.0 · Source§

impl<'a> PartialEq<OsString> for &'a Path

1.8.0 · Source§

impl<'a> PartialEq<OsString> for Cow<'a, Path>

1.8.0 · Source§

impl<'a> PartialEq<Path> for &'a OsStr

1.8.0 · Source§

impl<'a> PartialEq<Path> for Cow<'a, OsStr>

1.6.0 · Source§

impl<'a> PartialEq<Path> for Cow<'a, Path>

1.8.0 · Source§

impl<'a> PartialEq<PathBuf> for &'a OsStr

1.6.0 · Source§

impl<'a> PartialEq<PathBuf> for &'a Path

1.8.0 · Source§

impl<'a> PartialEq<PathBuf> for Cow<'a, OsStr>

1.6.0 · Source§

impl<'a> PartialEq<PathBuf> for Cow<'a, Path>

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

impl<'a, 'b> PartialEq<Cow<'a, str>> for str

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStr

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

Source§

impl<'a, 'b> PartialEq<FlexZeroVec<'b>> for FlexZeroVec<'a>

1.0.0 · Source§

impl<'a, 'b> PartialEq<str> for Cow<'a, str>

1.0.0 · Source§

impl<'a, 'b> PartialEq<str> for String

1.8.0 · Source§

impl<'a, 'b> PartialEq<OsStr> for Cow<'a, OsStr>

1.8.0 · Source§

impl<'a, 'b> PartialEq<OsStr> for OsString

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

impl<'a, 'b> PartialEq<OsString> for OsStr

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

impl<'a, 'b> PartialEq<String> for str

1.0.0 · Source§

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

Source§

impl<'a, 'b, K0, K1, V> PartialEq<ZeroMap2dBorrowed<'b, K0, K1, V>> for ZeroMap2dBorrowed<'a, K0, K1, V>
where K0: for<'c> ZeroMapKV<'c> + ?Sized, K1: for<'c> ZeroMapKV<'c> + ?Sized, V: for<'c> ZeroMapKV<'c> + ?Sized, <K0 as ZeroMapKV<'a>>::Slice: PartialEq<<K0 as ZeroMapKV<'b>>::Slice>, <K1 as ZeroMapKV<'a>>::Slice: PartialEq<<K1 as ZeroMapKV<'b>>::Slice>, <V as ZeroMapKV<'a>>::Slice: PartialEq<<V as ZeroMapKV<'b>>::Slice>,

Source§

impl<'a, 'b, K0, K1, V> PartialEq<ZeroMap2d<'b, K0, K1, V>> for ZeroMap2d<'a, K0, K1, V>
where K0: for<'c> ZeroMapKV<'c> + ?Sized, K1: for<'c> ZeroMapKV<'c> + ?Sized, V: for<'c> ZeroMapKV<'c> + ?Sized, <K0 as ZeroMapKV<'a>>::Container: PartialEq<<K0 as ZeroMapKV<'b>>::Container>, <K1 as ZeroMapKV<'a>>::Container: PartialEq<<K1 as ZeroMapKV<'b>>::Container>, <V as ZeroMapKV<'a>>::Container: PartialEq<<V as ZeroMapKV<'b>>::Container>,

Source§

impl<'a, 'b, K, V> PartialEq<ZeroMapBorrowed<'b, K, V>> for ZeroMapBorrowed<'a, K, V>
where K: for<'c> ZeroMapKV<'c> + ?Sized, V: for<'c> ZeroMapKV<'c> + ?Sized, <K as ZeroMapKV<'a>>::Slice: PartialEq<<K as ZeroMapKV<'b>>::Slice>, <V as ZeroMapKV<'a>>::Slice: PartialEq<<V as ZeroMapKV<'b>>::Slice>,

Source§

impl<'a, 'b, K, V> PartialEq<ZeroMap<'b, K, V>> for ZeroMap<'a, K, V>
where K: for<'c> ZeroMapKV<'c> + ?Sized, V: for<'c> ZeroMapKV<'c> + ?Sized, <K as ZeroMapKV<'a>>::Container: PartialEq<<K as ZeroMapKV<'b>>::Container>, <V as ZeroMapKV<'a>>::Container: PartialEq<<V as ZeroMapKV<'b>>::Container>,

Source§

impl<'a, 'b, T> PartialEq<ZeroVec<'b, T>> for ZeroVec<'a, T>
where T: AsULE + PartialEq + ?Sized,

Source§

impl<'a, 'b, T, F> PartialEq<VarZeroVec<'b, T, F>> for VarZeroVec<'a, T, F>

Source§

impl<'a, T> PartialEq<ZeroSlice<T>> for ZeroVec<'a, T>
where T: AsULE + PartialEq,

Source§

impl<'a, T> PartialEq<ZeroVec<'a, T>> for ZeroSlice<T>
where T: AsULE + PartialEq,

Source§

impl<'data> PartialEq for PropertyCodePointSetV1<'data>

Source§

impl<'data> PartialEq for PropertyUnicodeSetV1<'data>

Source§

impl<'data> PartialEq for Char16Trie<'data>

Source§

impl<'data> PartialEq for CodePointInversionList<'data>

Source§

impl<'data> PartialEq for CodePointInversionListAndStringList<'data>

Source§

impl<'data> PartialEq for AliasesV1<'data>

Source§

impl<'data> PartialEq for AliasesV2<'data>

Source§

impl<'data> PartialEq for ScriptDirectionV1<'data>

Source§

impl<'data> PartialEq for LikelySubtagsExtendedV1<'data>

Source§

impl<'data> PartialEq for LikelySubtagsForLanguageV1<'data>

Source§

impl<'data> PartialEq for LikelySubtagsForScriptRegionV1<'data>

Source§

impl<'data> PartialEq for LikelySubtagsV1<'data>

Source§

impl<'data> PartialEq for LocaleFallbackLikelySubtagsV1<'data>

Source§

impl<'data> PartialEq for LocaleFallbackParentsV1<'data>

Source§

impl<'data> PartialEq for LocaleFallbackSupplementV1<'data>

Source§

impl<'data> PartialEq for CanonicalCompositionsV1<'data>

Source§

impl<'data> PartialEq for DecompositionDataV1<'data>

Source§

impl<'data> PartialEq for DecompositionSupplementV1<'data>

Source§

impl<'data> PartialEq for DecompositionTablesV1<'data>

Source§

impl<'data> PartialEq for NonRecursiveDecompositionSupplementV1<'data>

Source§

impl<'data> PartialEq for BidiAuxiliaryPropertiesV1<'data>

Source§

impl<'data> PartialEq for PropertyEnumToValueNameLinearMapV1<'data>

Source§

impl<'data> PartialEq for PropertyEnumToValueNameLinearTiny4MapV1<'data>

Source§

impl<'data> PartialEq for PropertyEnumToValueNameSparseMapV1<'data>

Source§

impl<'data> PartialEq for PropertyValueNameToEnumMapV1<'data>

Source§

impl<'data> PartialEq for ScriptWithExtensionsPropertyV1<'data>

Source§

impl<'data> PartialEq for HelloWorldV1<'data>

Source§

impl<'data, T> PartialEq for PropertyCodePointMapV1<'data, T>
where T: PartialEq + TrieValue,

Source§

impl<'m, 'n, 'a, 'b, K0, K1, V> PartialEq<ZeroMap2dCursor<'n, 'b, K0, K1, V>> for ZeroMap2dCursor<'m, 'a, K0, K1, V>
where K0: for<'c> ZeroMapKV<'c> + ?Sized, K1: for<'c> ZeroMapKV<'c> + ?Sized, V: for<'c> ZeroMapKV<'c> + ?Sized, <K0 as ZeroMapKV<'a>>::Slice: PartialEq<<K0 as ZeroMapKV<'b>>::Slice>, <K1 as ZeroMapKV<'a>>::Slice: PartialEq<<K1 as ZeroMapKV<'b>>::Slice>, <V as ZeroMapKV<'a>>::Slice: PartialEq<<V as ZeroMapKV<'b>>::Slice>,

Source§

impl<'trie, T> PartialEq for CodePointTrie<'trie, T>
where T: PartialEq + TrieValue,

Source§

impl<A, B> PartialEq for Tuple2ULE<A, B>
where A: PartialEq + ULE, B: PartialEq + ULE,

1.0.0 · Source§

impl<A, B> PartialEq<&B> for &A
where A: PartialEq<B> + ?Sized, B: ?Sized,

1.0.0 · Source§

impl<A, B> PartialEq<&B> for &mut A
where A: PartialEq<B> + ?Sized, B: ?Sized,

1.0.0 · Source§

impl<A, B> PartialEq<&mut B> for &A
where A: PartialEq<B> + ?Sized, B: ?Sized,

1.0.0 · Source§

impl<A, B> PartialEq<&mut B> for &mut A
where A: PartialEq<B> + ?Sized, B: ?Sized,

Source§

impl<A, B> PartialEq<SmallVec<B>> for SmallVec<A>
where A: Array, B: Array, <A as Array>::Item: PartialEq<<B as Array>::Item>,

Source§

impl<A, B, C> PartialEq for Tuple3ULE<A, B, C>
where A: PartialEq + ULE, B: PartialEq + ULE, C: PartialEq + ULE,

Source§

impl<A, B, C, D> PartialEq for Tuple4ULE<A, B, C, D>
where A: PartialEq + ULE, B: PartialEq + ULE, C: PartialEq + ULE, D: PartialEq + ULE,

Source§

impl<A, B, C, D, E> PartialEq for Tuple5ULE<A, B, C, D, E>
where A: PartialEq + ULE, B: PartialEq + ULE, C: PartialEq + ULE, D: PartialEq + ULE, E: PartialEq + ULE,

Source§

impl<A, B, C, D, E, F> PartialEq for Tuple6ULE<A, B, C, D, E, F>
where A: PartialEq + ULE, B: PartialEq + ULE, C: PartialEq + ULE, D: PartialEq + ULE, E: PartialEq + ULE, F: PartialEq + ULE,

1.55.0 · Source§

impl<B, C> PartialEq for ControlFlow<B, C>
where B: PartialEq, C: PartialEq,

Source§

impl<C0, C1> PartialEq for EitherCart<C0, C1>
where C0: PartialEq, C1: PartialEq,

Source§

impl<Dyn> PartialEq for DynMetadata<Dyn>
where Dyn: ?Sized,

1.4.0 · Source§

impl<F> PartialEq for F
where F: FnPtr,

1.29.0 · Source§

impl<H> PartialEq for BuildHasherDefault<H>

Source§

impl<Idx> PartialEq for core::range::Range<Idx>
where Idx: PartialEq,

Source§

impl<Idx> PartialEq for core::range::RangeFrom<Idx>
where Idx: PartialEq,

Source§

impl<Idx> PartialEq for core::range::RangeInclusive<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<Idx> PartialEq for tcplane::Range<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<Idx> PartialEq for tcplane::RangeFrom<Idx>
where Idx: PartialEq,

1.26.0 · Source§

impl<Idx> PartialEq for tcplane::RangeInclusive<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<Idx> PartialEq for RangeTo<Idx>
where Idx: PartialEq,

1.26.0 · Source§

impl<Idx> PartialEq for RangeToInclusive<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<K, V, A> PartialEq for BTreeMap<K, V, A>
where K: PartialEq, V: PartialEq, A: Allocator + Clone,

Source§

impl<K, V, S> PartialEq for LiteMap<K, V, S>
where K: PartialEq + ?Sized, V: PartialEq + ?Sized, S: PartialEq,

1.0.0 · Source§

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

Source§

impl<M> PartialEq for DataPayload<M>
where M: DataMarker, YokeTraitHack<<<M as DataMarker>::Yokeable as Yokeable<'a>>::Output>: for<'a> PartialEq,

1.41.0 · Source§

impl<Ptr, Q> PartialEq<Pin<Q>> for Pin<Ptr>
where Ptr: Deref, Q: Deref, <Ptr as Deref>::Target: PartialEq<<Q as Deref>::Target>,

Source§

impl<S, T> PartialEq<Host<T>> for Host<S>
where S: PartialEq<T>,

1.17.0 · Source§

impl<T> PartialEq for Bound<T>
where T: PartialEq,

1.0.0 · Source§

impl<T> PartialEq for Option<T>
where T: PartialEq,

1.36.0 · Source§

impl<T> PartialEq for Poll<T>
where T: PartialEq,

Source§

impl<T> PartialEq for SendTimeoutError<T>
where T: PartialEq,

1.0.0 · Source§

impl<T> PartialEq for TrySendError<T>
where T: PartialEq,

1.0.0 · Source§

impl<T> PartialEq for *const T
where T: ?Sized,

1.0.0 · Source§

impl<T> PartialEq for *mut T
where T: ?Sized,

1.0.0 · Source§

impl<T> PartialEq for (T₁, T₂, …, Tₙ)
where T: PartialEq + ?Sized,

This trait is implemented for tuples up to twelve items long.

1.0.0 · Source§

impl<T> PartialEq for PhantomData<T>
where T: ?Sized,

1.0.0 · Source§

impl<T> PartialEq for Cursor<T>
where T: PartialEq,

Source§

impl<T> PartialEq for CodePointMapRange<T>
where T: PartialEq,

Source§

impl<T> PartialEq for TryWriteableInfallibleAsWriteable<T>
where T: PartialEq,

Source§

impl<T> PartialEq for WriteableAsTryWriteableInfallible<T>
where T: PartialEq,

Source§

impl<T> PartialEq for YokeTraitHack<T>
where T: PartialEq,

Source§

impl<T> PartialEq for ZeroSlice<T>
where T: AsULE + PartialEq,

1.0.0 · Source§

impl<T> PartialEq for SendError<T>
where T: PartialEq,

1.0.0 · Source§

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

1.21.0 · Source§

impl<T> PartialEq for Discriminant<T>

1.20.0 · Source§

impl<T> PartialEq for ManuallyDrop<T>
where T: PartialEq + ?Sized,

1.25.0 · Source§

impl<T> PartialEq for NonNull<T>
where T: ?Sized,

1.28.0 · Source§

impl<T> PartialEq for NonZero<T>

1.70.0 · Source§

impl<T> PartialEq for OnceCell<T>
where T: PartialEq,

1.70.0 · Source§

impl<T> PartialEq for OnceLock<T>
where T: PartialEq,

1.0.0 · Source§

impl<T> PartialEq for RefCell<T>
where T: PartialEq + ?Sized,

1.19.0 · Source§

impl<T> PartialEq for Reverse<T>
where T: PartialEq,

1.74.0 · Source§

impl<T> PartialEq for Saturating<T>
where T: PartialEq,

1.0.0 · Source§

impl<T> PartialEq for Wrapping<T>
where T: PartialEq,

Source§

impl<T> PartialEq<&[T]> for ZeroVec<'_, T>
where T: AsULE + PartialEq + ?Sized,

Source§

impl<T> PartialEq<[T]> for ZeroSlice<T>
where T: AsULE + PartialEq,

1.0.0 · Source§

impl<T, A> PartialEq for Arc<T, A>
where T: PartialEq + ?Sized, A: Allocator,

1.0.0 · Source§

impl<T, A> PartialEq for BTreeSet<T, A>
where T: PartialEq, A: Allocator + Clone,

1.0.0 · Source§

impl<T, A> PartialEq for Box<T, A>
where T: PartialEq + ?Sized, A: Allocator,

1.0.0 · Source§

impl<T, A> PartialEq for LinkedList<T, A>
where T: PartialEq, A: Allocator,

1.0.0 · Source§

impl<T, A> PartialEq for Rc<T, A>
where T: PartialEq + ?Sized, A: Allocator,

Source§

impl<T, A> PartialEq for UniqueRc<T, A>
where T: PartialEq + ?Sized, A: Allocator,

1.0.0 · Source§

impl<T, A> PartialEq for VecDeque<T, A>
where T: PartialEq, A: Allocator,

Source§

impl<T, A, F> PartialEq<&[A]> for VarZeroVec<'_, T, F>
where T: VarULE + PartialEq + ?Sized, A: AsRef<T>, F: VarZeroVecFormat,

Source§

impl<T, A, F> PartialEq<&[A]> for VarZeroVecOwned<T, F>
where T: VarULE + PartialEq + ?Sized, A: AsRef<T>, F: VarZeroVecFormat,

Source§

impl<T, A, F, const N: usize> PartialEq<[A; N]> for VarZeroVec<'_, T, F>
where T: VarULE + PartialEq + ?Sized, A: AsRef<T>, F: VarZeroVecFormat,

1.0.0 · Source§

impl<T, E> PartialEq for Result<T, E>
where T: PartialEq, E: PartialEq,

Source§

impl<T, F> PartialEq for VarZeroSlice<T, F>

1.0.0 · Source§

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

1.0.0 · Source§

impl<T, U> PartialEq<&[U]> for Cow<'_, [T]>
where T: PartialEq<U> + Clone,

1.0.0 · Source§

impl<T, U> PartialEq<&mut [U]> for Cow<'_, [T]>
where T: PartialEq<U> + Clone,

1.0.0 · Source§

impl<T, U> PartialEq<[U]> for [T]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A1, A2> PartialEq<Vec<U, A2>> for Vec<T, A1>
where A1: Allocator, A2: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A> PartialEq<&[U]> for Vec<T, A>
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A> PartialEq<&[U]> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A> PartialEq<&mut [U]> for Vec<T, A>
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A> PartialEq<&mut [U]> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.48.0 · Source§

impl<T, U, A> PartialEq<[U]> for Vec<T, A>
where A: Allocator, T: PartialEq<U>,

1.46.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where A: Allocator, T: PartialEq<U>,

1.46.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for &mut [T]
where A: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for Cow<'_, [T]>
where A: Allocator, T: PartialEq<U> + Clone,

1.48.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for [T]
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A, const N: usize> PartialEq<&[U; N]> for Vec<T, A>
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A, const N: usize> PartialEq<&[U; N]> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A, const N: usize> PartialEq<&mut [U; N]> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for Vec<T, A>
where A: Allocator, T: PartialEq<U>,

1.17.0 · Source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for VecDeque<T, A>
where A: Allocator, T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<&[U]> for [T; N]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<&mut [U]> for [T; N]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for &[T]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for &mut [T]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for [T; N]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for [T]
where T: PartialEq<U>,

1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U]> for [T; N]
where T: PartialEq<U>,

Source§

impl<T, const N: usize> PartialEq for Mask<T, N>

Source§

impl<T, const N: usize> PartialEq for Simd<T, N>

Source§

impl<T, const N: usize> PartialEq<[T; N]> for ZeroVec<'_, T>
where T: AsULE + PartialEq + ?Sized,

Source§

impl<U> PartialEq for OptionULE<U>
where U: Copy + PartialEq,

Source§

impl<U> PartialEq for OptionVarULE<U>
where U: VarULE + PartialEq + ?Sized,

Source§

impl<U, const N: usize> PartialEq for NichedOption<U, N>
where U: PartialEq,

Source§

impl<U, const N: usize> PartialEq for NichedOptionULE<U, N>
where U: NicheBytes<N> + ULE + PartialEq,

Source§

impl<Y, R> PartialEq for CoroutineState<Y, R>
where Y: PartialEq, R: PartialEq,

Source§

impl<const N: usize> PartialEq for TinyAsciiStr<N>

Source§

impl<const N: usize> PartialEq for UnvalidatedTinyAsciiStr<N>

Source§

impl<const N: usize> PartialEq for RawBytesULE<N>

Source§

impl<const N: usize> PartialEq<&str> for TinyAsciiStr<N>

Source§

impl<const N: usize> PartialEq<str> for TinyAsciiStr<N>

Source§

impl<const N: usize> PartialEq<TinyAsciiStr<N>> for String

Source§

impl<const N: usize> PartialEq<String> for TinyAsciiStr<N>