kvarn::prelude::utils::prelude::compact_str::core::prelude::rust_2024

Trait PartialEq

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 { ... } }
๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)
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ยง

source

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

๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)

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

Provided Methodsยง

source

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

๐Ÿ”ฌThis is a nightly-only experimental API. (prelude_2024)

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

Implementorsยง

sourceยง

impl PartialEq for CachePreferenceError

sourceยง

impl PartialEq for ClientCachePreference

sourceยง

impl PartialEq for CompressPreference

sourceยง

impl PartialEq for PreferredCompression

sourceยง

impl PartialEq for ServerCachePreference

sourceยง

impl PartialEq for UriKey

sourceยง

impl PartialEq for Value

sourceยง

impl PartialEq for BindIpVersion

sourceยง

impl PartialEq for CacheAction

sourceยง

impl PartialEq for Action

1.7.0 ยท sourceยง

impl PartialEq for kvarn::prelude::IpAddr

1.0.0 ยท sourceยง

impl PartialEq for SocketAddr

sourceยง

impl PartialEq for CacheControlError

sourceยง

impl PartialEq for RequestParseStage

sourceยง

impl PartialEq for SanitizeError

1.28.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::fmt::Alignment

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::io::ErrorKind

1.0.0 ยท sourceยง

impl PartialEq for SeekFrom

sourceยง

impl PartialEq for Ipv6MulticastScope

1.0.0 ยท sourceยง

impl PartialEq for Shutdown

ยง

impl PartialEq for ToCompactStringError

sourceยง

impl PartialEq for AsciiChar

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::cmp::Ordering

1.34.0 ยท sourceยง

impl PartialEq for Infallible

1.0.0 ยท sourceยง

impl PartialEq for FpCategory

1.55.0 ยท sourceยง

impl PartialEq for IntErrorKind

sourceยง

impl PartialEq for SearchStep

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::sync::atomic::Ordering

sourceยง

impl PartialEq for TryReserveErrorKind

1.65.0 ยท sourceยง

impl PartialEq for BacktraceStatus

1.0.0 ยท sourceยง

impl PartialEq for VarError

sourceยง

impl PartialEq for BacktraceStyle

1.12.0 ยท sourceยง

impl PartialEq for std::sync::mpsc::RecvTimeoutError

1.0.0 ยท sourceยง

impl PartialEq for std::sync::mpsc::TryRecvError

sourceยง

impl PartialEq for _Unwind_Action

sourceยง

impl PartialEq for _Unwind_Reason_Code

sourceยง

impl PartialEq for FlushCompress

sourceยง

impl PartialEq for FlushDecompress

sourceยง

impl PartialEq for Status

sourceยง

impl PartialEq for log::Level

sourceยง

impl PartialEq for log::LevelFilter

sourceยง

impl PartialEq for petgraph::dot::Config

sourceยง

impl PartialEq for Direction

sourceยง

impl PartialEq for Variant

sourceยง

impl PartialEq for uuid::Version

sourceยง

impl PartialEq for BernoulliError

sourceยง

impl PartialEq for WeightedError

sourceยง

impl PartialEq for IndexVec

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 PathQuery

sourceยง

impl PartialEq for kvarn::extensions::Id

ยง

impl PartialEq for OffsetDateTime

sourceยง

impl PartialEq for Mime

ยง

impl PartialEq for Bytes

ยง

impl PartialEq for BytesMut

1.3.0 ยท sourceยง

impl PartialEq for kvarn::prelude::Duration

ยง

impl PartialEq for HeaderName

ยง

impl PartialEq for HeaderValue

1.8.0 ยท sourceยง

impl PartialEq for kvarn::prelude::Instant

ยง

impl PartialEq for Method

1.0.0 ยท sourceยง

impl PartialEq for Path

1.0.0 ยท sourceยง

impl PartialEq for PathBuf

ยง

impl PartialEq for StatusCode

ยง

impl PartialEq for Uri

ยง

impl PartialEq for kvarn::prelude::Version

sourceยง

impl PartialEq for CriticalRequestComponents

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::fmt::Error

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::net::AddrParseError

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::net::Ipv4Addr

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::net::Ipv6Addr

1.0.0 ยท sourceยง

impl PartialEq for SocketAddrV4

1.0.0 ยท sourceยง

impl PartialEq for SocketAddrV6

1.0.0 ยท sourceยง

impl PartialEq for ParseBoolError

1.0.0 ยท sourceยง

impl PartialEq for Utf8Error

ยง

impl PartialEq for Authority

ยง

impl PartialEq for PathAndQuery

ยง

impl PartialEq for Scheme

ยง

impl PartialEq for ReserveError

sourceยง

impl PartialEq for AllocError

1.28.0 ยท sourceยง

impl PartialEq for Layout

1.50.0 ยท sourceยง

impl PartialEq for LayoutError

1.0.0 ยท sourceยง

impl PartialEq for TypeId

1.27.0 ยท sourceยง

impl PartialEq for CpuidResult

1.34.0 ยท sourceยง

impl PartialEq for CharTryFromError

1.9.0 ยท sourceยง

impl PartialEq for DecodeUtf16Error

1.20.0 ยท sourceยง

impl PartialEq for ParseCharError

1.59.0 ยท sourceยง

impl PartialEq for TryFromCharError

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.33.0 ยท sourceยง

impl PartialEq for PhantomPinned

sourceยง

impl PartialEq for Assume

1.0.0 ยท sourceยง

impl PartialEq for ParseFloatError

1.0.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::num::ParseIntError

1.34.0 ยท sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::num::TryFromIntError

sourceยง

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::ptr::Alignment

1.0.0 ยท sourceยง

impl PartialEq for RangeFull

1.36.0 ยท sourceยง

impl PartialEq for RawWaker

1.36.0 ยท sourceยง

impl PartialEq for RawWakerVTable

1.66.0 ยท sourceยง

impl PartialEq for TryFromFloatSecsError

sourceยง

impl PartialEq for EndOfInput

sourceยง

impl PartialEq for UnorderedKeyError

1.57.0 ยท sourceยง

impl PartialEq for alloc::collections::TryReserveError

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.0.0 ยท sourceยง

impl PartialEq for FromUtf8Error

1.0.0 ยท sourceยง

impl PartialEq for String

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

sourceยง

impl PartialEq for std::os::unix::net::ucred::UCred

1.7.0 ยท sourceยง

impl PartialEq for StripPrefixError

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.5.0 ยท sourceยง

impl PartialEq for std::sync::condvar::WaitTimeoutResult

1.0.0 ยท sourceยง

impl PartialEq for std::sync::mpsc::RecvError

1.26.0 ยท sourceยง

impl PartialEq for AccessError

1.19.0 ยท sourceยง

impl PartialEq for ThreadId

1.8.0 ยท sourceยง

impl PartialEq for SystemTime

sourceยง

impl PartialEq for FixedBitSet

sourceยง

impl PartialEq for GzHeader

sourceยง

impl PartialEq for Compression

sourceยง

impl PartialEq for getrandom::error::Error

sourceยง

impl PartialEq for ParseLevelError

sourceยง

impl PartialEq for NegativeCycle

sourceยง

impl PartialEq for petgraph::visit::dfsvisit::Time

sourceยง

impl PartialEq for socket2::Domain

sourceยง

impl PartialEq for socket2::Protocol

sourceยง

impl PartialEq for socket2::RecvFlags

sourceยง

impl PartialEq for socket2::Type

sourceยง

impl PartialEq for ATerm

sourceยง

impl PartialEq for B0

sourceยง

impl PartialEq for B1

sourceยง

impl PartialEq for Z0

sourceยง

impl PartialEq for Equal

sourceยง

impl PartialEq for Greater

sourceยง

impl PartialEq for Less

sourceยง

impl PartialEq for UTerm

sourceยง

impl PartialEq for uuid::error::Error

sourceยง

impl PartialEq for Braced

sourceยง

impl PartialEq for Hyphenated

sourceยง

impl PartialEq for Simple

sourceยง

impl PartialEq for Urn

sourceยง

impl PartialEq for Uuid

sourceยง

impl PartialEq for Timestamp

sourceยง

impl PartialEq for Bernoulli

sourceยง

impl PartialEq for StepRng

sourceยง

impl PartialEq for SmallRng

sourceยง

impl PartialEq for StdRng

sourceยง

impl PartialEq for ChaCha8Core

sourceยง

impl PartialEq for ChaCha8Rng

sourceยง

impl PartialEq for ChaCha12Core

sourceยง

impl PartialEq for ChaCha12Rng

sourceยง

impl PartialEq for ChaCha20Core

sourceยง

impl PartialEq for ChaCha20Rng

ยง

impl PartialEq for ACCESS_DESCRIPTION_st

ยง

impl PartialEq for ASN1_ADB_TABLE_st

ยง

impl PartialEq for ASN1_ADB_st

ยง

impl PartialEq for ASN1_AUX_st

ยง

impl PartialEq for ASN1_EXTERN_FUNCS_st

ยง

impl PartialEq for ASN1_ITEM_st

ยง

impl PartialEq for ASN1_TEMPLATE_st

ยง

impl PartialEq for AUTHORITY_KEYID_st

ยง

impl PartialEq for Aborted

ยง

impl PartialEq for AccessKind

ยง

impl PartialEq for AccessMode

ยง

impl PartialEq for AddrParseError

ยง

impl PartialEq for AlertDescription

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for Algorithm

ยง

impl PartialEq for AlgorithmId

ยง

impl PartialEq for AlgorithmId

ยง

impl PartialEq for AlgorithmIdentifier

ยง

impl PartialEq for Alphabet

ยง

impl PartialEq for AnyDelimiterCodec

ยง

impl PartialEq for ApplicationClose

ยง

impl PartialEq for BASIC_CONSTRAINTS_st

ยง

impl PartialEq for BigEndian

ยง

impl PartialEq for BlockCipherId

ยง

impl PartialEq for BroCatliResult

ยง

impl PartialEq for BrotliEncoderMode

ยง

impl PartialEq for BrotliEncoderOperation

ยง

impl PartialEq for BrotliEncoderParameter

ยง

impl PartialEq for BrotliEncoderStreamState

ยง

impl PartialEq for BrotliHasherParams

ยง

impl PartialEq for BytesCodec

ยง

impl PartialEq for CParameter

ยง

impl PartialEq for CRYPTO_dynlock

ยง

impl PartialEq for CRYPTO_dynlock_value

ยง

impl PartialEq for Canceled

ยง

impl PartialEq for CapacityError

ยง

impl PartialEq for CertRevocationListError

ยง

impl PartialEq for CertificateCompressionAlgorithm

ยง

impl PartialEq for CertificateError

ยง

impl PartialEq for Chunk

ยง

impl PartialEq for CipherSuite

ยง

impl PartialEq for CloseCode

ยง

impl PartialEq for ClosedStream

ยง

impl PartialEq for Code

ยง

impl PartialEq for Code

ยง

impl PartialEq for CodeBlockState

ยง

impl PartialEq for Collector

ยง

impl PartialEq for CompareResult

ยง

impl PartialEq for Component

ยง

impl PartialEq for ComponentRange

ยง

impl PartialEq for CompressionLevel

ยง

impl PartialEq for CompressionLevel

ยง

impl PartialEq for CompressionStrategy

ยง

impl PartialEq for Config

ยง

impl PartialEq for ConfigError

ยง

impl PartialEq for ConnectError

ยง

impl PartialEq for ConnectionClose

ยง

impl PartialEq for ConnectionError

ยง

impl PartialEq for ConnectionHandle

ยง

impl PartialEq for ConnectionId

ยง

impl PartialEq for ContentType

ยง

impl PartialEq for Control

ยง

impl PartialEq for ConversionRange

ยง

impl PartialEq for CreateKind

ยง

impl PartialEq for DES_cblock_st

ยง

impl PartialEq for DES_ks

ยง

impl PartialEq for DIST_POINT_st

ยง

impl PartialEq for DParameter

ยง

impl PartialEq for DSA_SIG_st

ยง

impl PartialEq for Data

ยง

impl PartialEq for DataChange

ยง

impl PartialEq for DataFormat

ยง

impl PartialEq for Date

ยง

impl PartialEq for DateKind

ยง

impl PartialEq for Day

ยง

impl PartialEq for DebouncedEvent

ยง

impl PartialEq for DebouncedEvent

ยง

impl PartialEq for DebouncedEventKind

ยง

impl PartialEq for DecodeError

ยง

impl PartialEq for DecodeMetadata

ยง

impl PartialEq for DecodePaddingMode

ยง

impl PartialEq for DecodeSliceError

ยง

impl PartialEq for DerTypeId

ยง

impl PartialEq for DifferentVariant

ยง

impl PartialEq for Dir

ยง

impl PartialEq for Domain

ยง

impl PartialEq for Duration

ยง

impl PartialEq for EC_builtin_curve

ยง

impl PartialEq for EDIPartyName_st

ยง

impl PartialEq for EcdsaSigningAlgorithm

ยง

impl PartialEq for EcdsaSigningAlgorithm

ยง

impl PartialEq for EcdsaVerificationAlgorithm

ยง

impl PartialEq for EchStatus

ยง

impl PartialEq for EcnCodepoint

ยง

impl PartialEq for EcnCodepoint

ยง

impl PartialEq for Elapsed

ยง

impl PartialEq for Empty

ยง

impl PartialEq for EncodeSliceError

ยง

impl PartialEq for EncryptedClientHelloError

ยง

impl PartialEq for EncryptionAlgorithmId

ยง

impl PartialEq for End

ยง

impl PartialEq for Endianness

ยง

impl PartialEq for Error

ยง

impl PartialEq for Error

ยง

impl PartialEq for Error

ยง

impl PartialEq for Error

ยง

impl PartialEq for Error

ยง

impl PartialEq for Error

ยง

impl PartialEq for ErrorKind

ยง

impl PartialEq for ErrorLevel

ยง

impl PartialEq for Event

ยง

impl PartialEq for EventKind

ยง

impl PartialEq for EventMask

ยง

impl PartialEq for ExpirationPolicy

ยง

impl PartialEq for ExportKeyingMaterialError

ยง

impl PartialEq for Field

ยง

impl PartialEq for FieldSet

ยง

impl PartialEq for FileTime

ยง

impl PartialEq for FilterOp

ยง

impl PartialEq for FinishError

ยง

impl PartialEq for Flag

ยง

impl PartialEq for Flags

ยง

impl PartialEq for FormattedComponents

ยง

impl PartialEq for Frame

ยง

impl PartialEq for FrameHeader

ยง

impl PartialEq for FsyncFlags

ยง

impl PartialEq for GENERAL_SUBTREE_st

ยง

impl PartialEq for H5Sub

ยง

impl PartialEq for H6Sub

ยง

impl PartialEq for H9Opts

ยง

impl PartialEq for HQ5Sub

ยง

impl PartialEq for HQ7Sub

ยง

impl PartialEq for HRSS_private_key

ยง

impl PartialEq for HRSS_public_key

ยง

impl PartialEq for Handle

ยง

impl PartialEq for HandshakeKind

ยง

impl PartialEq for HandshakeType

ยง

impl PartialEq for HashAlgorithm

ยง

impl PartialEq for Hour

ยง

impl PartialEq for HpkeSuite

ยง

impl PartialEq for HuffmanCode

ยง

impl PartialEq for ISSUING_DIST_POINT_st

ยง

impl PartialEq for Id

ยง

impl PartialEq for Identifier

ยง

impl PartialEq for IdleTimeout

ยง

impl PartialEq for Ignore

ยง

impl PartialEq for InconsistentKeys

ยง

impl PartialEq for IndeterminateOffset

ยง

impl PartialEq for Instant

ยง

impl PartialEq for Instant

ยง

impl PartialEq for Interest

ยง

impl PartialEq for Interest

ยง

impl PartialEq for InvalidBufferSize

ยง

impl PartialEq for InvalidFormatDescription

ยง

impl PartialEq for InvalidLength

ยง

impl PartialEq for InvalidMessage

ยง

impl PartialEq for InvalidStreamId

ยง

impl PartialEq for InvalidVariant

ยง

impl PartialEq for IoState

ยง

impl PartialEq for IpAddr

ยง

impl PartialEq for Ipv4Addr

ยง

impl PartialEq for Ipv6Addr

ยง

impl PartialEq for Item

ยง

impl PartialEq for KeyExchangeAlgorithm

ยง

impl PartialEq for KeyRejected

ยง

impl PartialEq for KeySize

ยง

impl PartialEq for Kind

ยง

impl PartialEq for Level

ยง

impl PartialEq for LevelFilter

ยง

impl PartialEq for LinesCodec

ยง

impl PartialEq for LiteralPredictionModeNibble

ยง

impl PartialEq for LittleEndian

ยง

impl PartialEq for LongType

ยง

impl PartialEq for MZError

ยง

impl PartialEq for MZFlush

ยง

impl PartialEq for MZStatus

ยง

impl PartialEq for Message

ยง

impl PartialEq for MetadataKind

ยง

impl PartialEq for MimeGuess

ยง

impl PartialEq for Minute

ยง

impl PartialEq for MissedTickBehavior

ยง

impl PartialEq for ModifyKind

ยง

impl PartialEq for Month

ยง

impl PartialEq for Month

ยง

impl PartialEq for MonthRepr

ยง

impl PartialEq for NAME_CONSTRAINTS_st

ยง

impl PartialEq for NOTICEREF_st

ยง

impl PartialEq for NamedGroup

ยง

impl PartialEq for Needed

ยง

impl PartialEq for Netscape_spkac_st

ยง

impl PartialEq for Netscape_spki_st

ยง

impl PartialEq for Null

ยง

impl PartialEq for OffsetHour

ยง

impl PartialEq for OffsetMinute

ยง

impl PartialEq for OffsetPrecision

ยง

impl PartialEq for OffsetSecond

ยง

impl PartialEq for OnceState

ยง

impl PartialEq for OpCode

ยง

impl PartialEq for OperatingMode

ยง

impl PartialEq for Ordinal

ยง

impl PartialEq for OtherError

ยง

impl PartialEq for OwnedFormatItem

ยง

impl PartialEq for POLICYINFO_st

ยง

impl PartialEq for POLICY_CONSTRAINTS_st

ยง

impl PartialEq for POLICY_MAPPING_st

ยง

impl PartialEq for PacketDecodeError

ยง

impl PartialEq for Padding

ยง

impl PartialEq for ParkResult

ยง

impl PartialEq for ParkToken

ยง

impl PartialEq for Parse

ยง

impl PartialEq for ParseAlphabetError

ยง

impl PartialEq for ParseFromDescription

ยง

impl PartialEq for ParseIntError

ยง

impl PartialEq for PeerIncompatible

ยง

impl PartialEq for PeerMisbehaved

ยง

impl PartialEq for Period

ยง

impl PartialEq for PollNext

ยง

impl PartialEq for PrimitiveDateTime

ยง

impl PartialEq for Protocol

ยง

impl PartialEq for Protocol

ยง

impl PartialEq for Protocol

ยง

impl PartialEq for ProtocolError

ยง

impl PartialEq for ProtocolVersion

ยง

impl PartialEq for PushError

ยง

impl PartialEq for RIPEMD160state_st

ยง

impl PartialEq for ReadError

ยง

impl PartialEq for ReadError

ยง

impl PartialEq for ReadExactError

ยง

impl PartialEq for ReadToEndError

ยง

impl PartialEq for ReadableError

ยง

impl PartialEq for Ready

ยง

impl PartialEq for ReadyTimeoutError

ยง

impl PartialEq for Reason

ยง

impl PartialEq for RecursiveMode

ยง

impl PartialEq for RecvError

ยง

impl PartialEq for RecvError

ยง

impl PartialEq for RecvError

ยง

impl PartialEq for RecvFlags

ยง

impl PartialEq for RecvTimeoutError

ยง

impl PartialEq for RemovalCause

ยง

impl PartialEq for RemoveKind

ยง

impl PartialEq for RenameMode

ยง

impl PartialEq for RequeueOp

ยง

impl PartialEq for ResetError

ยง

impl PartialEq for RevocationCheckDepth

ยง

impl PartialEq for RevocationReason

ยง

impl PartialEq for Rfc2822

ยง

impl PartialEq for Rfc3339

ยง

impl PartialEq for Rng

ยง

impl PartialEq for Role

ยง

impl PartialEq for RuntimeFlavor

ยง

impl PartialEq for Second

ยง

impl PartialEq for SectionKind

ยง

impl PartialEq for SelectTimeoutError

ยง

impl PartialEq for SendDatagramError

ยง

impl PartialEq for SendDatagramError

ยง

impl PartialEq for SendError

ยง

impl PartialEq for Side

ยง

impl PartialEq for Side

ยง

impl PartialEq for SignatureAlgorithm

ยง

impl PartialEq for SignatureScheme

ยง

impl PartialEq for SockAddr

ยง

impl PartialEq for Soundness

ยง

impl PartialEq for Span

ยง

impl PartialEq for StoppedError

ยง

impl PartialEq for StreamEvent

ยง

impl PartialEq for StreamId

ยง

impl PartialEq for StreamId

ยง

impl PartialEq for StreamId

ยง

impl PartialEq for StreamResult

ยง

impl PartialEq for Struct1

ยง

impl PartialEq for SubProtocolError

ยง

impl PartialEq for Subsecond

ยง

impl PartialEq for SubsecondDigits

ยง

impl PartialEq for SupportedCipherSuite

ยง

impl PartialEq for SupportedProtocolVersion

ยง

impl PartialEq for TDEFLFlush

ยง

impl PartialEq for TDEFLStatus

ยง

impl PartialEq for TINFLStatus

ยง

impl PartialEq for TagPropagation

ยง

impl PartialEq for Time

ยง

impl PartialEq for TimePrecision

ยง

impl PartialEq for TimeoutFlags

ยง

impl PartialEq for Tls12CipherSuite

ยง

impl PartialEq for Tls12Resumption

ยง

impl PartialEq for Tls13CipherSuite

ยง

impl PartialEq for TlsProtocolId

ยง

impl PartialEq for Token

ยง

impl PartialEq for TransportParameters

ยง

impl PartialEq for TryAcquireError

ยง

impl PartialEq for TryFromIntError

ยง

impl PartialEq for TryFromParsed

ยง

impl PartialEq for TryReadyError

ยง

impl PartialEq for TryRecvError

ยง

impl PartialEq for TryRecvError

ยง

impl PartialEq for TryRecvError

ยง

impl PartialEq for TryRecvError

ยง

impl PartialEq for TryReserveError

ยง

impl PartialEq for TryReserveError

ยง

impl PartialEq for TryReserveError

ยง

impl PartialEq for TryReserveError

ยง

impl PartialEq for TrySelectError

ยง

impl PartialEq for Type

ยง

impl PartialEq for UCred

ยง

impl PartialEq for USERNOTICE_st

ยง

impl PartialEq for UnixTime

ยง

impl PartialEq for UnixTimestamp

ยง

impl PartialEq for UnixTimestampPrecision

ยง

impl PartialEq for UnknownStatusPolicy

ยง

impl PartialEq for UnparkResult

ยง

impl PartialEq for UnparkToken

ยง

impl PartialEq for Unspecified

ยง

impl PartialEq for Unspecified

ยง

impl PartialEq for UnsupportedOperationError

ยง

impl PartialEq for UrlError

ยง

impl PartialEq for UtcOffset

ยง

impl PartialEq for VarInt

ยง

impl PartialEq for VarIntBoundsExceeded

ยง

impl PartialEq for VerboseErrorKind

ยง

impl PartialEq for WaitTimeoutResult

ยง

impl PartialEq for WatchDescriptor

ยง

impl PartialEq for WatchMask

ยง

impl PartialEq for WatcherKind

ยง

impl PartialEq for WeekNumber

ยง

impl PartialEq for WeekNumberRepr

ยง

impl PartialEq for Weekday

ยง

impl PartialEq for Weekday

ยง

impl PartialEq for WeekdayRepr

ยง

impl PartialEq for WriteError

ยง

impl PartialEq for WriteError

ยง

impl PartialEq for Written

ยง

impl PartialEq for X509_algor_st

ยง

impl PartialEq for X509_info_st

ยง

impl PartialEq for Year

ยง

impl PartialEq for YearRepr

ยง

impl PartialEq for ZSTD_EndDirective

ยง

impl PartialEq for ZSTD_ResetDirective

ยง

impl PartialEq for ZSTD_cParameter

ยง

impl PartialEq for ZSTD_dParameter

ยง

impl PartialEq for ZSTD_strategy

ยง

impl PartialEq for _IO_FILE

ยง

impl PartialEq for __va_list_tag

ยง

impl PartialEq for aes_key_st

ยง

impl PartialEq for asn1_string_st

ยง

impl PartialEq for bf_key_st

ยง

impl PartialEq for bignum_st

ยง

impl PartialEq for bio_method_st

ยง

impl PartialEq for bio_st

ยง

impl PartialEq for blake2b_state_st

ยง

impl PartialEq for bn_mont_ctx_st

ยง

impl PartialEq for buf_mem_st

ยง

impl PartialEq for cbb_buffer_st

ยง

impl PartialEq for cbb_child_st

ยง

impl PartialEq for cbs_st

ยง

impl PartialEq for conf_value_st

ยง

impl PartialEq for crypto_ex_data_st

ยง

impl PartialEq for ecdsa_sig_st

ยง

impl PartialEq for env_md_ctx_st

ยง

impl PartialEq for evp_cipher_ctx_st

ยง

impl PartialEq for evp_cipher_info_st

ยง

impl PartialEq for evp_encode_ctx_st

ยง

impl PartialEq for evp_hpke_key_st

ยง

impl PartialEq for md4_state_st

ยง

impl PartialEq for md5_state_st

ยง

impl PartialEq for obj_name_st

ยง

impl PartialEq for otherName_st

ยง

impl PartialEq for pkcs7_signed_st

ยง

impl PartialEq for point_conversion_form_t

ยง

impl PartialEq for private_key_st

ยง

impl PartialEq for rand_meth_st

ยง

impl PartialEq for rc4_key_st

ยง

impl PartialEq for rsa_pss_params_st

ยง

impl PartialEq for sha256_state_st

ยง

impl PartialEq for sha512_state_st

ยง

impl PartialEq for sha_state_st

ยง

impl PartialEq for tm

ยง

impl PartialEq for trust_token_st

ยง

impl PartialEq for v3_ext_ctx

ยง

impl PartialEq for v3_ext_method

ยง

impl PartialEq for vec128_storage

ยง

impl PartialEq for vec256_storage

ยง

impl PartialEq for vec512_storage

ยง

impl PartialEq for x509_purpose_st

ยง

impl PartialEq for x509_trust_st

1.29.0 ยท sourceยง

impl PartialEq<&str> for OsString

ยง

impl PartialEq<&[BorrowedFormatItem<'_>]> for BorrowedFormatItem<'_>

ยง

impl PartialEq<&[OwnedFormatItem]> for OwnedFormatItem

1.16.0 ยท sourceยง

impl PartialEq<IpAddr> for kvarn::prelude::utils::prelude::net::Ipv4Addr

1.16.0 ยท sourceยง

impl PartialEq<IpAddr> for kvarn::prelude::utils::prelude::net::Ipv6Addr

sourceยง

impl PartialEq<Level> for log::LevelFilter

sourceยง

impl PartialEq<LevelFilter> for log::Level

ยง

impl PartialEq<str> for Bytes

ยง

impl PartialEq<str> for BytesMut

ยง

impl PartialEq<str> for HeaderName

ยง

impl PartialEq<str> for HeaderValue

ยง

impl PartialEq<str> for Method

ยง

impl PartialEq<str> for Uri

sourceยง

impl PartialEq<str> for ValueQualitySet<'_>

ยง

impl PartialEq<str> for Authority

Case-insensitive equality

ยงExamples

let authority: Authority = "HELLO.com".parse().unwrap();
assert_eq!(authority, "hello.coM");
assert_eq!("hello.com", authority);
ยง

impl PartialEq<str> for PathAndQuery

ยง

impl PartialEq<str> for Scheme

Case-insensitive equality

ยงExamples

let scheme: Scheme = "HTTP".parse().unwrap();
assert_eq!(scheme, *"http");
1.0.0 ยท sourceยง

impl PartialEq<str> for OsStr

1.0.0 ยท sourceยง

impl PartialEq<str> for OsString

ยง

impl PartialEq<u16> for StatusCode

ยง

impl PartialEq<u64> for Code

ยง

impl PartialEq<OffsetDateTime> for SystemTime

Available on crate feature std only.
ยง

impl PartialEq<Bytes> for &str

ยง

impl PartialEq<Bytes> for &[u8]

ยง

impl PartialEq<Bytes> for str

ยง

impl PartialEq<Bytes> for BytesMut

ยง

impl PartialEq<Bytes> for String

ยง

impl PartialEq<Bytes> for Vec<u8>

ยง

impl PartialEq<Bytes> for [u8]

ยง

impl PartialEq<BytesMut> for &str

ยง

impl PartialEq<BytesMut> for &[u8]

ยง

impl PartialEq<BytesMut> for str

ยง

impl PartialEq<BytesMut> for Bytes

ยง

impl PartialEq<BytesMut> for String

ยง

impl PartialEq<BytesMut> for Vec<u8>

ยง

impl PartialEq<BytesMut> for [u8]

ยง

impl PartialEq<CompactString> for &&str

ยง

impl PartialEq<CompactString> for &str

ยง

impl PartialEq<CompactString> for &CompactString

ยง

impl PartialEq<CompactString> for &String

ยง

impl PartialEq<CompactString> for str

ยง

impl PartialEq<CompactString> for String

ยง

impl PartialEq<Duration> for Duration

ยง

impl PartialEq<HeaderName> for str

ยง

impl PartialEq<HeaderValue> for str

ยง

impl PartialEq<HeaderValue> for String

ยง

impl PartialEq<HeaderValue> for [u8]

ยง

impl PartialEq<Instant> for Instant

ยง

impl PartialEq<Method> for str

1.6.0 ยท sourceยง

impl PartialEq<Path> for PathBuf

1.8.0 ยท sourceยง

impl PartialEq<Path> for OsStr

1.8.0 ยท sourceยง

impl PartialEq<Path> for OsString

1.6.0 ยท sourceยง

impl PartialEq<PathBuf> for Path

1.8.0 ยท sourceยง

impl PartialEq<PathBuf> for OsStr

1.8.0 ยท sourceยง

impl PartialEq<PathBuf> for OsString

ยง

impl PartialEq<StatusCode> for u16

ยง

impl PartialEq<Uri> for str

1.16.0 ยท sourceยง

impl PartialEq<Ipv4Addr> for kvarn::prelude::IpAddr

1.16.0 ยท sourceยง

impl PartialEq<Ipv6Addr> for kvarn::prelude::IpAddr

ยง

impl PartialEq<Authority> for str

ยง

impl PartialEq<Authority> for String

ยง

impl PartialEq<PathAndQuery> for str

ยง

impl PartialEq<PathAndQuery> for String

ยง

impl PartialEq<Scheme> for str

Case-insensitive equality

ยง

impl PartialEq<String> for &CompactString

ยง

impl PartialEq<String> for Bytes

ยง

impl PartialEq<String> for BytesMut

ยง

impl PartialEq<String> for HeaderValue

ยง

impl PartialEq<String> for Authority

ยง

impl PartialEq<String> for PathAndQuery

ยง

impl PartialEq<Vec<u8>> for Bytes

ยง

impl PartialEq<Vec<u8>> for BytesMut

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

ยง

impl PartialEq<SystemTime> for OffsetDateTime

Available on crate feature std only.
ยง

impl PartialEq<BorrowedFormatItem<'_>> for &[BorrowedFormatItem<'_>]

ยง

impl PartialEq<BorrowedFormatItem<'_>> for Component

ยง

impl PartialEq<Component> for BorrowedFormatItem<'_>

ยง

impl PartialEq<Component> for OwnedFormatItem

ยง

impl PartialEq<Duration> for kvarn::prelude::Duration

ยง

impl PartialEq<Instant> for kvarn::prelude::Instant

ยง

impl PartialEq<Level> for LevelFilter

ยง

impl PartialEq<LevelFilter> for Level

ยง

impl PartialEq<OwnedFormatItem> for &[OwnedFormatItem]

ยง

impl PartialEq<OwnedFormatItem> for Component

ยง

impl PartialEq<[u8]> for Bytes

ยง

impl PartialEq<[u8]> for BytesMut

ยง

impl PartialEq<[u8]> for HeaderValue

sourceยง

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

1.0.0 ยท sourceยง

impl<'a> PartialEq for std::path::Component<'a>

1.0.0 ยท sourceยง

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

ยง

impl<'a> PartialEq for CertificateDer<'a>

sourceยง

impl<'a> PartialEq for Query<'a>

sourceยง

impl<'a> PartialEq for QueryPair<'a>

sourceยง

impl<'a> PartialEq for ValueQualitySet<'a>

1.79.0 ยท sourceยง

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

1.10.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

ยง

impl<'a> PartialEq for BorrowedFormatItem<'a>

ยง

impl<'a> PartialEq for CertificateRevocationListDer<'a>

ยง

impl<'a> PartialEq for CertificateSigningRequestDer<'a>

ยง

impl<'a> PartialEq for Der<'a>

ยง

impl<'a> PartialEq for DnsName<'a>

ยง

impl<'a> PartialEq for EchConfigListBytes<'a>

ยง

impl<'a> PartialEq for FfdheGroup<'a>

ยง

impl<'a> PartialEq for InputPair<'a>

ยง

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

ยง

impl<'a> PartialEq for PrivateKeyDer<'a>

ยง

impl<'a> PartialEq for PrivatePkcs1KeyDer<'a>

ยง

impl<'a> PartialEq for PrivatePkcs8KeyDer<'a>

ยง

impl<'a> PartialEq for PrivateSec1KeyDer<'a>

ยง

impl<'a> PartialEq for ServerName<'a>

ยง

impl<'a> PartialEq for SubjectPublicKeyInfoDer<'a>

ยง

impl<'a> PartialEq for TrustAnchor<'a>

sourceยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<'a> PartialEq<&'a CompactString> for String

ยง

impl<'a> PartialEq<&'a HeaderName> for HeaderName

ยง

impl<'a> PartialEq<&'a Method> for Method

1.6.0 ยท sourceยง

impl<'a> PartialEq<&'a Path> 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.8.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

ยง

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

1.6.0 ยท sourceยง

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

1.6.0 ยท sourceยง

impl<'a> PartialEq<Cow<'a, Path>> 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.8.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

sourceยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<'a> PartialEq<HeaderName> for &'a HeaderName

ยง

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

ยง

impl<'a> PartialEq<HeaderValue> for &'a HeaderValue

ยง

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

ยง

impl<'a> PartialEq<Method> for &'a Method

1.8.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.6.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

ยง

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

ยง

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

ยง

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

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.0.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

sourceยง

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

1.6.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

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.6.0 ยท sourceยง

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

1.8.0 ยท sourceยง

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

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<'b, OsStr>> for &'a Path

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

sourceยง

impl<'a, 'b> PartialEq<Name<'a>> for &'b 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, E, Ix> PartialEq for petgraph::adj::EdgeReference<'a, E, Ix>
where E: PartialEq, Ix: PartialEq + IndexType,

sourceยง

impl<'a, E, Ix> PartialEq for petgraph::graph_impl::stable_graph::EdgeReference<'a, E, Ix>
where Ix: IndexType, E: PartialEq,

sourceยง

impl<'a, E, Ix> PartialEq for petgraph::graph_impl::EdgeReference<'a, E, Ix>
where Ix: IndexType, E: PartialEq,

ยง

impl<'a, S1> PartialEq<Ascii<S1>> for &'a str
where S1: AsRef<str>,

ยง

impl<'a, T> PartialEq for GetAll<'a, T>
where T: PartialEq,

ยง

impl<'a, T> PartialEq for ArcBorrow<'a, T>
where T: PartialEq + 'a + ?Sized,

ยง

impl<'a, T> PartialEq<&'a T> for Bytes
where Bytes: PartialEq<T>, T: ?Sized,

ยง

impl<'a, T> PartialEq<&'a T> for BytesMut
where BytesMut: PartialEq<T>, T: ?Sized,

ยง

impl<'a, T> PartialEq<&'a T> for HeaderValue
where HeaderValue: PartialEq<T>, T: ?Sized,

sourceยง

impl<'b, T> PartialEq for Ptr<'b, T>

ยง

impl<'g, T> PartialEq for Shared<'g, T>
where T: Pointable + ?Sized,

ยง

impl<'s, T> PartialEq for SliceVec<'s, T>
where T: PartialEq,

ยง

impl<'s, T> PartialEq<&[T]> for SliceVec<'s, T>
where T: PartialEq,

ยง

impl<'t> PartialEq for CloseFrame<'t>

ยง

impl<A> PartialEq for Aad<A>
where A: PartialEq,

ยง

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

ยง

impl<A> PartialEq for BasicHasher<A>
where A: SliceWrapperMut<u32> + SliceWrapper<u32> + BasicHashComputer,

ยง

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

ยง

impl<A> PartialEq<&[<A as Array>::Item]> for ArrayVec<A>
where A: Array, <A as Array>::Item: PartialEq,

ยง

impl<A> PartialEq<&[<A as Array>::Item]> for TinyVec<A>
where A: Array, <A as Array>::Item: PartialEq,

ยง

impl<A> PartialEq<&A> for ArrayVec<A>
where A: Array, <A as Array>::Item: PartialEq,

ยง

impl<A> PartialEq<&A> for TinyVec<A>
where A: Array, <A as Array>::Item: PartialEq,

ยง

impl<A, B> PartialEq for ArcUnion<A, B>
where A: PartialEq, B: PartialEq,

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,

ยง

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

ยง

impl<Alloc> PartialEq for H9<Alloc>
where Alloc: Allocator<u16> + Allocator<u32>,

ยง

impl<Alloc> PartialEq for UnionHasher<Alloc>
where Alloc: Allocator<u16> + Allocator<u32>,

ยง

impl<AllocU32> PartialEq for H10Buckets<AllocU32>
where AllocU32: Allocator<u32>,

ยง

impl<AllocU32, Buckets, Params> PartialEq for H10<AllocU32, Buckets, Params>
where AllocU32: Allocator<u32>, Buckets: Allocable<u32, AllocU32> + SliceWrapperMut<u32> + SliceWrapper<u32> + PartialEq, Params: H10Params,

1.55.0 ยท sourceยง

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

sourceยง

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

ยง

impl<E> PartialEq for Err<E>
where E: PartialEq,

1.4.0 ยท sourceยง

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

1.29.0 ยท sourceยง

impl<H> PartialEq for BuildHasherDefault<H>

ยง

impl<H> PartialEq for HeaderWithLength<H>
where H: PartialEq,

ยง

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

ยง

impl<H, T> PartialEq for ThinArc<H, T>
where H: PartialEq, T: PartialEq,

ยง

impl<I> PartialEq for Error<I>
where I: PartialEq,

ยง

impl<I> PartialEq for VerboseError<I>
where I: PartialEq,

ยง

impl<Id> PartialEq for Algorithm<Id>
where Id: PartialEq + AlgorithmIdentifier,

1.0.0 ยท sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::legacy::Range<Idx>
where Idx: PartialEq,

1.0.0 ยท sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::legacy::RangeFrom<Idx>
where Idx: PartialEq,

1.26.0 ยท sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::legacy::RangeInclusive<Idx>
where Idx: PartialEq,

sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::Range<Idx>
where Idx: PartialEq,

sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::RangeFrom<Idx>
where Idx: PartialEq,

sourceยง

impl<Idx> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::range::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,

sourceยง

impl<Ix> PartialEq for petgraph::adj::EdgeIndex<Ix>
where Ix: PartialEq + IndexType,

sourceยง

impl<Ix> PartialEq for petgraph::graph_impl::EdgeIndex<Ix>
where Ix: PartialEq,

sourceยง

impl<Ix> PartialEq for NodeIndex<Ix>
where Ix: PartialEq,

ยง

impl<K, V1, S1, V2, S2> PartialEq<IndexMap<K, V2, S2>> for IndexMap<K, V1, S1>
where K: Hash + Eq, V1: PartialEq<V2>, S1: BuildHasher, S2: BuildHasher,

ยง

impl<K, V> PartialEq for Slice<K, V>
where K: PartialEq, V: PartialEq,

1.0.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

ยง

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

ยง

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

sourceยง

impl<N> PartialEq for Cycle<N>
where N: PartialEq,

sourceยง

impl<N, E> PartialEq for Element<N, E>
where N: PartialEq, E: PartialEq,

ยง

impl<O> PartialEq for F32<O>
where O: PartialEq,

ยง

impl<O> PartialEq for F64<O>
where O: PartialEq,

ยง

impl<O> PartialEq for I16<O>
where O: PartialEq,

ยง

impl<O> PartialEq for I32<O>
where O: PartialEq,

ยง

impl<O> PartialEq for I64<O>
where O: PartialEq,

ยง

impl<O> PartialEq for I128<O>
where O: PartialEq,

ยง

impl<O> PartialEq for U16<O>
where O: PartialEq,

ยง

impl<O> PartialEq for U32<O>
where O: PartialEq,

ยง

impl<O> PartialEq for U64<O>
where O: PartialEq,

ยง

impl<O> PartialEq for U128<O>
where O: PartialEq,

ยง

impl<O> PartialEq<F32<O>> for [u8; 4]
where O: ByteOrder,

ยง

impl<O> PartialEq<F64<O>> for [u8; 8]
where O: ByteOrder,

ยง

impl<O> PartialEq<I16<O>> for [u8; 2]
where O: ByteOrder,

ยง

impl<O> PartialEq<I32<O>> for [u8; 4]
where O: ByteOrder,

ยง

impl<O> PartialEq<I64<O>> for [u8; 8]
where O: ByteOrder,

ยง

impl<O> PartialEq<I128<O>> for [u8; 16]
where O: ByteOrder,

ยง

impl<O> PartialEq<U16<O>> for [u8; 2]
where O: ByteOrder,

ยง

impl<O> PartialEq<U32<O>> for [u8; 4]
where O: ByteOrder,

ยง

impl<O> PartialEq<U64<O>> for [u8; 8]
where O: ByteOrder,

ยง

impl<O> PartialEq<U128<O>> for [u8; 16]
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 2]> for I16<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 2]> for U16<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 4]> for F32<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 4]> for I32<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 4]> for U32<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 8]> for F64<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 8]> for I64<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 8]> for U64<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 16]> for I128<O>
where O: ByteOrder,

ยง

impl<O> PartialEq<[u8; 16]> for U128<O>
where O: ByteOrder,

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

ยง

impl<S1> PartialEq<Ascii<S1>> for String
where S1: AsRef<str>,

ยง

impl<S1, S2> PartialEq<S2> for Ascii<S1>
where S1: AsRef<str>, S2: AsRef<str>,

ยง

impl<S1, S2> PartialEq<UniCase<S2>> for UniCase<S1>
where S1: AsRef<str>, S2: AsRef<str>,

ยง

impl<Specialization, Alloc> PartialEq for AdvHasher<Specialization, Alloc>
where Specialization: AdvHashSpecialization + Clone, Alloc: Allocator<u16> + Allocator<u32>,

ยง

impl<Storage> PartialEq for __BindgenBitfieldUnit<Storage>
where Storage: PartialEq,

1.36.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.17.0 ยท sourceยง

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

sourceยง

impl<T> PartialEq for std::sync::mpmc::error::SendTimeoutError<T>
where T: PartialEq,

1.0.0 ยท sourceยง

impl<T> PartialEq for std::sync::mpsc::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.

ยง

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

1.0.0 ยท sourceยง

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

1.0.0 ยท sourceยง

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

1.70.0 ยท sourceยง

impl<T> PartialEq for kvarn::prelude::utils::prelude::compact_str::core::cell::OnceCell<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.0.0 ยท sourceยง

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

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.28.0 ยท sourceยง

impl<T> PartialEq for NonZero<T>

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,

1.25.0 ยท sourceยง

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

1.0.0 ยท sourceยง

impl<T> PartialEq for std::sync::mpsc::SendError<T>
where T: PartialEq,

1.70.0 ยท sourceยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<T> PartialEq for Unalign<T>
where T: Unaligned + PartialEq,

ยง

impl<T> PartialEq<u16> for Port<T>

ยง

impl<T> PartialEq<Port<T>> for u16

ยง

impl<T> PartialEq<T> for CompactString
where T: AsRef<str> + ?Sized,

1.0.0 ยท sourceยง

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

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 BTreeSet<T, A>
where T: PartialEq, A: Allocator + Clone,

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 VecDeque<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,

ยง

impl<T, B> PartialEq for Ref<B, [T]>
where B: ByteSlice, T: FromBytes + PartialEq,

ยง

impl<T, B> PartialEq for Ref<B, T>
where B: ByteSlice, T: FromBytes + PartialEq,

1.0.0 ยท sourceยง

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

ยง

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

ยง

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

ยง

impl<T, N> PartialEq for GenericArray<T, N>
where T: PartialEq, N: ArrayLength<T>,

ยง

impl<T, S1, S2> PartialEq<IndexSet<T, S2>> for IndexSet<T, S1>
where T: Hash + Eq, S1: BuildHasher, S2: BuildHasher,

1.0.0 ยท sourceยง

impl<T, S> PartialEq for std::collections::hash::set::HashSet<T, S>
where T: Eq + Hash, S: BuildHasher,

ยง

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

ยง

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

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

ยง

impl<T, U> PartialEq<Port<U>> for Port<T>

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.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<&[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.0.0 ยท sourceยง

impl<T, U, A> PartialEq<&mut