Trait kvarn::prelude::utils::prelude::compact_str::core::cmp::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

This method 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

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

1.0.0 · source§

impl PartialEq for kvarn::prelude::utils::prelude::compact_str::core::cmp::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 (const: unstable) · source§

impl PartialEq for bool

1.0.0 (const: unstable) · source§

impl PartialEq for char

1.0.0 (const: unstable) · source§

impl PartialEq for f16

1.0.0 (const: unstable) · source§

impl PartialEq for f32

1.0.0 (const: unstable) · source§

impl PartialEq for f64

1.0.0 (const: unstable) · source§

impl PartialEq for f128

1.0.0 (const: unstable) · source§

impl PartialEq for i8

1.0.0 (const: unstable) · source§

impl PartialEq for i16

1.0.0 (const: unstable) · source§

impl PartialEq for i32

1.0.0 (const: unstable) · source§

impl PartialEq for i64

1.0.0 (const: unstable) · source§

impl PartialEq for i128

1.0.0 (const: unstable) · source§

impl PartialEq for isize

source§

impl PartialEq for !

1.0.0 · source§

impl PartialEq for str

1.0.0 (const: unstable) · source§

impl PartialEq for u8

1.0.0 (const: unstable) · source§

impl PartialEq for u16

1.0.0 (const: unstable) · source§

impl PartialEq for u32

1.0.0 (const: unstable) · source§

impl PartialEq for u64

1.0.0 (const: unstable) · source§

impl PartialEq for u128

1.0.0 · source§

impl PartialEq for ()

1.0.0 (const: unstable) · 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.0.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

1.0.0 · source§

impl PartialEq for RangeFull

source§

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

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

§

impl PartialEq for EcnCodepoint

§

impl PartialEq for Elapsed

§

impl PartialEq for Empty

§

impl PartialEq for EncodeSliceError

§

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

§

impl PartialEq for PKCS7_SIGN_ENVELOPE

§

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 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 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 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_method_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 openssl_method_common_st

§

impl PartialEq for otherName_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_meth_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

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,

source§

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 Range<Idx>
where Idx: PartialEq,

1.0.0 · source§

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

1.26.0 · source§

impl<Idx> PartialEq for 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,

source§

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

source§

impl<N, E> PartialEq for Element<N, E>
where N: PartialEq, E: 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<S1> PartialEq<Ascii<S1>> for String
where S1: AsRef<str>,

source§

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

source§

impl<S1, S2> PartialEq<S2> for Ascii<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.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.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.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,

1.19.0 · source§

impl<T> PartialEq for Reverse<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<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,

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,

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 [U]> for Vec<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.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, 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<&mut [U; N]> for VecDeque<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, A, const N: usize> PartialEq<[U; N]> for Vec<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>

§

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

§

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

source§

impl<U> PartialEq for NInt<U>
where U: PartialEq + Unsigned + NonZero,

source§

impl<U> PartialEq for PInt<U>
where U: PartialEq + Unsigned + NonZero,

source§

impl<U, B> PartialEq for UInt<U, B>
where U: PartialEq, B: PartialEq,

§

impl<V> PartialEq for Op<V>
where V: PartialEq,

source§

impl<V, A> PartialEq for TArr<V, A>
where V: PartialEq, A: PartialEq,

source§

impl<V: PartialEq> PartialEq for CacheOut<V>

source§

impl<X> PartialEq for Uniform<X>

source§

impl<X> PartialEq for UniformFloat<X>
where X: PartialEq,

source§

impl<X> PartialEq for UniformInt<X>
where X: PartialEq,

source§

impl<X> PartialEq for WeightedIndex<X>

source§

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

§

impl<Z> PartialEq for Zeroizing<Z>
where Z: PartialEq + Zeroize,

§

impl<const CONFIG: u128> PartialEq for Iso8601<CONFIG>

§

impl<const LEFT_SIZE: usize, const RIGHT_SIZE: usize> PartialEq<WriteBuffer<RIGHT_SIZE>> for WriteBuffer<LEFT_SIZE>

§

impl<const MIN_A: i8, const MAX_A: i8, const MIN_B: i8, const MAX_B: i8> PartialEq<OptionRangedI8<MIN_B, MAX_B>> for OptionRangedI8<MIN_A, MAX_A>

§

impl<const MIN_A: i8, const MAX_A: i8, const MIN_B: i8, const MAX_B: i8> PartialEq<RangedI8<MIN_B, MAX_B>> for RangedI8<MIN_A, MAX_A>

§

impl<const MIN_A: i16, const MAX_A: i16, const MIN_B: i16, const MAX_B: i16> PartialEq<OptionRangedI16<MIN_B, MAX_B>> for OptionRangedI16<MIN_A, MAX_A>

§

impl<const MIN_A: i16, const MAX_A: i16, const MIN_B: i16, const MAX_B: i16> PartialEq<RangedI16<MIN_B, MAX_B>> for RangedI16<MIN_A, MAX_A>

§

impl<const MIN_A: i32, const MAX_A: i32, const MIN_B: i32, const MAX_B: i32> PartialEq<OptionRangedI32<MIN_B, MAX_B>> for OptionRangedI32<MIN_A, MAX_A>

§

impl<const MIN_A: i32, const MAX_A: i32, const MIN_B: i32, const MAX_B: i32> PartialEq<RangedI32<MIN_B, MAX_B>> for RangedI32<MIN_A, MAX_A>

§

impl<const MIN_A: i64, const MAX_A: i64, const MIN_B: i64, const MAX_B: i64> PartialEq<OptionRangedI64<MIN_B, MAX_B>> for OptionRangedI64<MIN_A, MAX_A>

§

impl<const MIN_A: i64, const MAX_A: i64, const MIN_B: i64, const MAX_B: i64> PartialEq<RangedI64<MIN_B, MAX_B>> for RangedI64<MIN_A, MAX_A>

§

impl<const MIN_A: i128, const MAX_A: i128, const MIN_B: i128, const MAX_B: i128> PartialEq<OptionRangedI128<MIN_B, MAX_B>> for OptionRangedI128<MIN_A, MAX_A>

§

impl<const MIN_A: i128, const MAX_A: i128, const MIN_B: i128, const MAX_B: i128> PartialEq<RangedI128<MIN_B, MAX_B>> for RangedI128<MIN_A, MAX_A>

§

impl<const MIN_A: isize, const MAX_A: isize, const MIN_B: isize, const MAX_B: isize> PartialEq<OptionRangedIsize<MIN_B, MAX_B>> for OptionRangedIsize<MIN_A, MAX_A>

§

impl<const MIN_A: isize, const MAX_A: isize, const MIN_B: isize, const MAX_B: isize> PartialEq<RangedIsize<MIN_B, MAX_B>> for RangedIsize<MIN_A, MAX_A>

§

impl<const MIN_A: u8, const MAX_A: u8, const MIN_B: u8, const MAX_B: u8> PartialEq<OptionRangedU8<MIN_B, MAX_B>> for OptionRangedU8<MIN_A, MAX_A>

§

impl<const MIN_A: u8, const MAX_A: u8, const MIN_B: u8, const MAX_B: u8> PartialEq<RangedU8<MIN_B, MAX_B>> for RangedU8<MIN_A, MAX_A>

§

impl<const MIN_A: u16, const MAX_A: u16, const MIN_B: u16, const MAX_B: u16> PartialEq<OptionRangedU16<MIN_B, MAX_B>> for OptionRangedU16<MIN_A, MAX_A>

§

impl<const MIN_A: u16, const MAX_A: u16, const MIN_B: u16, const MAX_B: u16> PartialEq<RangedU16<MIN_B, MAX_B>> for RangedU16<MIN_A, MAX_A>

§

impl<const MIN_A: u32, const MAX_A: u32, const MIN_B: u32, const MAX_B: u32> PartialEq<OptionRangedU32<MIN_B, MAX_B>> for OptionRangedU32<MIN_A, MAX_A>

§

impl<const MIN_A: u32, const MAX_A: u32, const MIN_B: u32, const MAX_B: u32> PartialEq<RangedU32<MIN_B, MAX_B>> for RangedU32<MIN_A, MAX_A>

§

impl<const MIN_A: u64, const MAX_A: u64, const MIN_B: u64, const MAX_B: u64> PartialEq<OptionRangedU64<MIN_B, MAX_B>> for OptionRangedU64<MIN_A, MAX_A>

§

impl<const MIN_A: u64, const MAX_A: u64, const MIN_B: u64, const MAX_B: u64> PartialEq<RangedU64<MIN_B, MAX_B>> for RangedU64<MIN_A, MAX_A>

§

impl<const MIN_A: u128, const MAX_A: u128, const MIN_B: u128, const MAX_B: u128> PartialEq<OptionRangedU128<MIN_B, MAX_B>> for OptionRangedU128<MIN_A, MAX_A>

§

impl<const MIN_A: u128, const MAX_A: u128, const MIN_B: u128, const MAX_B: u128> PartialEq<RangedU128<MIN_B, MAX_B>> for RangedU128<MIN_A, MAX_A>

§

impl<const MIN_A: usize, const MAX_A: usize, const MIN_B: usize, const MAX_B: usize> PartialEq<OptionRangedUsize<MIN_B, MAX_B>> for OptionRangedUsize<MIN_A, MAX_A>

§

impl<const MIN_A: usize, const MAX_A: usize, const MIN_B: usize, const MAX_B: usize> PartialEq<RangedUsize<MIN_B, MAX_B>> for RangedUsize<MIN_A, MAX_A>