wasmer_types::lib::std::cmp

Trait PartialEq

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

Trait for comparisons using the equality operator.

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

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

This trait allows for comparisons using the equality operator, for types that do not have a full equivalence relation. For example, in floating point numbers NaN != NaN, so floating point types implement PartialEq but not Eq. Formally speaking, when Rhs == Self, this trait corresponds to a partial equivalence relation.

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

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

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

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

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

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

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

Note that the B: PartialEq<A> (symmetric) and A: PartialEq<C> (transitive) impls are not forced to exist, but these requirements apply whenever they do exist.

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

§Cross-crate considerations

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

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

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

§Derivable

This trait can be used with #[derive]. When derived on structs, two instances are equal if all fields are equal, and not equal if any fields are not equal. When derived on enums, two instances are equal if they are the same variant and all fields are equal.

§How can I implement PartialEq?

An example implementation for a domain in which two books are considered the same book if their ISBN matches, even if the formats differ:

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

struct Book {
    isbn: i32,
    format: BookFormat,
}

impl PartialEq for Book {
    fn eq(&self, other: &Self) -> bool {
        self.isbn == other.isbn
    }
}

let b1 = Book { isbn: 3, format: BookFormat::Paperback };
let b2 = Book { isbn: 3, format: BookFormat::Ebook };
let b3 = Book { isbn: 10, format: BookFormat::Paperback };

assert!(b1 == b2);
assert!(b1 != b3);

§How can I compare two different types?

The type you can compare with is controlled by PartialEq’s type parameter. For example, let’s tweak our previous code a bit:

// The derive implements <BookFormat> == <BookFormat> comparisons
#[derive(PartialEq)]
enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

struct Book {
    isbn: i32,
    format: BookFormat,
}

// Implement <Book> == <BookFormat> comparisons
impl PartialEq<BookFormat> for Book {
    fn eq(&self, other: &BookFormat) -> bool {
        self.format == *other
    }
}

// Implement <BookFormat> == <Book> comparisons
impl PartialEq<Book> for BookFormat {
    fn eq(&self, other: &Book) -> bool {
        *self == other.format
    }
}

let b1 = Book { isbn: 3, format: BookFormat::Paperback };

assert!(b1 == BookFormat::Paperback);
assert!(BookFormat::Ebook != b1);

By changing impl PartialEq for Book to impl PartialEq<BookFormat> for Book, we allow BookFormats to be compared with Books.

A comparison like the one above, which ignores some fields of the struct, can be dangerous. It can easily lead to an unintended violation of the requirements for a partial equivalence relation. For example, if we kept the above implementation of PartialEq<Book> for BookFormat and added an implementation of PartialEq<Book> for Book (either via a #[derive] or via the manual implementation from the first example) then the result would violate transitivity:

#[derive(PartialEq)]
enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

#[derive(PartialEq)]
struct Book {
    isbn: i32,
    format: BookFormat,
}

impl PartialEq<BookFormat> for Book {
    fn eq(&self, other: &BookFormat) -> bool {
        self.format == *other
    }
}

impl PartialEq<Book> for BookFormat {
    fn eq(&self, other: &Book) -> bool {
        *self == other.format
    }
}

fn main() {
    let b1 = Book { isbn: 1, format: BookFormat::Paperback };
    let b2 = Book { isbn: 2, format: BookFormat::Paperback };

    assert!(b1 == BookFormat::Paperback);
    assert!(BookFormat::Paperback == b2);

    // The following should hold by transitivity but doesn't.
    assert!(b1 == b2); // <-- PANICS
}

§Examples

let x: u32 = 0;
let y: u32 = 1;

assert_eq!(x == y, false);
assert_eq!(x.eq(&y), false);

Required Methods§

1.0.0 · Source

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

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

Provided Methods§

1.0.0 · Source

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

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

Implementors§

Source§

impl PartialEq for RelocationKind

Source§

impl PartialEq for RelocationTarget

Source§

impl PartialEq for CustomSectionProtection

Source§

impl PartialEq for Symbol

Source§

impl PartialEq for CpuFeature

Source§

impl PartialEq for CompiledFunctionUnwindInfo

Source§

impl PartialEq for Aarch64Architecture

Source§

impl PartialEq for Architecture

Source§

impl PartialEq for BinaryFormat

Source§

impl PartialEq for CallingConvention

Source§

impl PartialEq for Endianness

Source§

impl PartialEq for Environment

Source§

impl PartialEq for ExportIndex

Source§

impl PartialEq for ExternType

Source§

impl PartialEq for GlobalInit

Source§

impl PartialEq for HashAlgorithm

Source§

impl PartialEq for ImportIndex

Source§

impl PartialEq for LibCall

Source§

impl PartialEq for MemoryStyle

Source§

impl PartialEq for ModuleHash

Source§

impl PartialEq for Mutability

Source§

impl PartialEq for OperatingSystem

Source§

impl PartialEq for PointerWidth

Source§

impl PartialEq for TableStyle

Source§

impl PartialEq for TrapCode

Source§

impl PartialEq for Type

Source§

impl PartialEq for Vendor

Source§

impl PartialEq for MemoryError

1.34.0 · Source§

impl PartialEq for Infallible

1.28.0 · Source§

impl PartialEq for wasmer_types::lib::std::fmt::Alignment

1.0.0 · Source§

impl PartialEq for wasmer_types::lib::std::sync::atomic::Ordering

1.12.0 · Source§

impl PartialEq for RecvTimeoutError

1.0.0 · Source§

impl PartialEq for TryRecvError

1.0.0 · Source§

impl PartialEq for wasmer_types::lib::std::cmp::Ordering

Source§

impl PartialEq for TryReserveErrorKind

Source§

impl PartialEq for AsciiChar

1.7.0 · Source§

impl PartialEq for IpAddr

Source§

impl PartialEq for Ipv6MulticastScope

1.0.0 · Source§

impl PartialEq for SocketAddr

1.0.0 · Source§

impl PartialEq for FpCategory

1.55.0 · Source§

impl PartialEq for IntErrorKind

Source§

impl PartialEq for SearchStep

1.65.0 · Source§

impl PartialEq for BacktraceStatus

1.0.0 · Source§

impl PartialEq for VarError

1.0.0 · Source§

impl PartialEq for SeekFrom

1.0.0 · Source§

impl PartialEq for ErrorKind

1.0.0 · Source§

impl PartialEq for Shutdown

Source§

impl PartialEq for BacktraceStyle

Source§

impl PartialEq for _Unwind_Action

Source§

impl PartialEq for _Unwind_Reason_Code

Source§

impl PartialEq for hashbrown::TryReserveError

Source§

impl PartialEq for hashbrown::TryReserveError

Source§

impl PartialEq for FromHexError

Source§

impl PartialEq for Panic

Source§

impl PartialEq for ArchivedIpAddr

Source§

impl PartialEq for ArchivedSocketAddr

Source§

impl PartialEq for CDataModel

Source§

impl PartialEq for Size

Source§

impl PartialEq for ParseError

Source§

impl PartialEq for ArmArchitecture

Source§

impl PartialEq for CustomVendor

Source§

impl PartialEq for Mips32Architecture

Source§

impl PartialEq for Mips64Architecture

Source§

impl PartialEq for Riscv32Architecture

Source§

impl PartialEq for Riscv64Architecture

Source§

impl PartialEq for X86_32Architecture

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 FunctionAddressMap

Source§

impl PartialEq for InstructionAddressMap

Source§

impl PartialEq for Compilation

Source§

impl PartialEq for CompiledFunction

Source§

impl PartialEq for CompiledFunctionFrameInfo

Source§

impl PartialEq for Dwarf

Source§

impl PartialEq for FunctionBody

Source§

impl PartialEq for CompileModuleInfo

Source§

impl PartialEq for Relocation

Source§

impl PartialEq for CustomSection

Source§

impl PartialEq for SectionBody

Source§

impl PartialEq for SectionIndex

Source§

impl PartialEq for Target

Source§

impl PartialEq for wasmer_types::Bytes

Source§

impl PartialEq for CustomSectionIndex

Source§

impl PartialEq for DataIndex

Source§

impl PartialEq for DataInitializerLocation

Source§

impl PartialEq for ElemIndex

Source§

impl PartialEq for Features

Source§

impl PartialEq for FunctionIndex

Source§

impl PartialEq for FunctionType

Source§

impl PartialEq for GlobalIndex

Source§

impl PartialEq for GlobalType

Source§

impl PartialEq for ImportKey

Source§

impl PartialEq for LocalFunctionIndex

Source§

impl PartialEq for LocalGlobalIndex

Source§

impl PartialEq for LocalMemoryIndex

Source§

impl PartialEq for LocalTableIndex

Source§

impl PartialEq for MemoryIndex

Source§

impl PartialEq for MemoryType

Source§

impl PartialEq for ModuleInfo

Source§

impl PartialEq for OwnedDataInitializer

Source§

impl PartialEq for PageCountOutOfRange

Source§

impl PartialEq for Pages

Source§

impl PartialEq for SignatureIndex

Source§

impl PartialEq for SourceLoc

Source§

impl PartialEq for StoreId

Source§

impl PartialEq for TableIndex

Source§

impl PartialEq for TableInitializer

Source§

impl PartialEq for TableType

Source§

impl PartialEq for TrapInformation

Source§

impl PartialEq for Triple

Source§

impl PartialEq for V128

1.0.0 · Source§

impl PartialEq for TypeId

1.0.0 · Source§

impl PartialEq for wasmer_types::lib::std::fmt::Error

1.33.0 · Source§

impl PartialEq for PhantomPinned

Source§

impl PartialEq for Assume

1.0.0 · Source§

impl PartialEq for RangeFull

Source§

impl PartialEq for wasmer_types::lib::std::ptr::Alignment

1.0.0 · Source§

impl PartialEq for FromUtf8Error

1.0.0 · Source§

impl PartialEq for String

1.0.0 · Source§

impl PartialEq for RecvError

1.5.0 · Source§

impl PartialEq for WaitTimeoutResult

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.28.0 · Source§

impl PartialEq for Layout

1.50.0 · Source§

impl PartialEq for LayoutError

Source§

impl PartialEq for AllocError

1.34.0 · Source§

impl PartialEq for CharTryFromError

1.20.0 · Source§

impl PartialEq for ParseCharError

1.9.0 · Source§

impl PartialEq for DecodeUtf16Error

1.59.0 · Source§

impl PartialEq for TryFromCharError

1.27.0 · Source§

impl PartialEq for CpuidResult

1.64.0 · Source§

impl PartialEq for CStr

1.69.0 · Source§

impl PartialEq for FromBytesUntilNulError

1.64.0 · Source§

impl PartialEq for FromBytesWithNulError

1.0.0 · Source§

impl PartialEq for Ipv4Addr

1.0.0 · Source§

impl PartialEq for Ipv6Addr

1.0.0 · Source§

impl PartialEq for AddrParseError

1.0.0 · Source§

impl PartialEq for SocketAddrV4

1.0.0 · Source§

impl PartialEq for SocketAddrV6

1.0.0 · Source§

impl PartialEq for ParseFloatError

1.0.0 · Source§

impl PartialEq for ParseIntError

1.34.0 · Source§

impl PartialEq for TryFromIntError

1.0.0 · Source§

impl PartialEq for ParseBoolError

1.0.0 · Source§

impl PartialEq for core::str::error::Utf8Error

1.36.0 · Source§

impl PartialEq for RawWaker

1.36.0 · Source§

impl PartialEq for RawWakerVTable

1.3.0 · Source§

impl PartialEq for Duration

1.66.0 · Source§

impl PartialEq for TryFromFloatSecsError

1.0.0 · Source§

impl PartialEq for OsStr

1.0.0 · Source§

impl PartialEq for OsString

1.1.0 · Source§

impl PartialEq for FileType

1.0.0 · Source§

impl PartialEq for Permissions

Source§

impl PartialEq for UCred

1.0.0 · Source§

impl PartialEq for Path

1.0.0 · Source§

impl PartialEq for PathBuf

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.26.0 · Source§

impl PartialEq for AccessError

1.19.0 · Source§

impl PartialEq for ThreadId

1.8.0 · Source§

impl PartialEq for Instant

1.8.0 · Source§

impl PartialEq for SystemTime

Source§

impl PartialEq for block_buffer::Error

Source§

impl PartialEq for bytes::bytes::Bytes

Source§

impl PartialEq for BytesMut

Source§

impl PartialEq for InvalidLength

Source§

impl PartialEq for InvalidBufferSize

Source§

impl PartialEq for indexmap::TryReserveError

Source§

impl PartialEq for Failure

Source§

impl PartialEq for NonZeroI16_be

Source§

impl PartialEq for NonZeroI16_le

Source§

impl PartialEq for NonZeroI32_be

Source§

impl PartialEq for NonZeroI32_le

Source§

impl PartialEq for NonZeroI64_be

Source§

impl PartialEq for NonZeroI64_le

Source§

impl PartialEq for NonZeroI128_be

Source§

impl PartialEq for NonZeroI128_le

Source§

impl PartialEq for NonZeroU16_be

Source§

impl PartialEq for NonZeroU16_le

Source§

impl PartialEq for NonZeroU32_be

Source§

impl PartialEq for NonZeroU32_le

Source§

impl PartialEq for NonZeroU64_be

Source§

impl PartialEq for NonZeroU64_le

Source§

impl PartialEq for NonZeroU128_be

Source§

impl PartialEq for NonZeroU128_le

Source§

impl PartialEq for char_be

Source§

impl PartialEq for char_le

Source§

impl PartialEq for f32_be

Source§

impl PartialEq for f32_le

Source§

impl PartialEq for f64_be

Source§

impl PartialEq for f64_le

Source§

impl PartialEq for i16_be

Source§

impl PartialEq for i16_le

Source§

impl PartialEq for i32_be

Source§

impl PartialEq for i32_le

Source§

impl PartialEq for i64_be

Source§

impl PartialEq for i64_le

Source§

impl PartialEq for i128_be

Source§

impl PartialEq for i128_le

Source§

impl PartialEq for u16_be

Source§

impl PartialEq for u16_le

Source§

impl PartialEq for u32_be

Source§

impl PartialEq for u32_le

Source§

impl PartialEq for u64_be

Source§

impl PartialEq for u64_le

Source§

impl PartialEq for u128_be

Source§

impl PartialEq for u128_le

Source§

impl PartialEq for NonZeroI16_ube

Source§

impl PartialEq for NonZeroI16_ule

Source§

impl PartialEq for NonZeroI32_ube

Source§

impl PartialEq for NonZeroI32_ule

Source§

impl PartialEq for NonZeroI64_ube

Source§

impl PartialEq for NonZeroI64_ule

Source§

impl PartialEq for NonZeroI128_ube

Source§

impl PartialEq for NonZeroI128_ule

Source§

impl PartialEq for NonZeroU16_ube

Source§

impl PartialEq for NonZeroU16_ule

Source§

impl PartialEq for NonZeroU32_ube

Source§

impl PartialEq for NonZeroU32_ule

Source§

impl PartialEq for NonZeroU64_ube

Source§

impl PartialEq for NonZeroU64_ule

Source§

impl PartialEq for NonZeroU128_ube

Source§

impl PartialEq for NonZeroU128_ule

Source§

impl PartialEq for char_ube

Source§

impl PartialEq for char_ule

Source§

impl PartialEq for f32_ube

Source§

impl PartialEq for f32_ule

Source§

impl PartialEq for f64_ube

Source§

impl PartialEq for f64_ule

Source§

impl PartialEq for i16_ube

Source§

impl PartialEq for i16_ule

Source§

impl PartialEq for i32_ube

Source§

impl PartialEq for i32_ule

Source§

impl PartialEq for i64_ube

Source§

impl PartialEq for i64_ule

Source§

impl PartialEq for i128_ube

Source§

impl PartialEq for i128_ule

Source§

impl PartialEq for u16_ube

Source§

impl PartialEq for u16_ule

Source§

impl PartialEq for u32_ube

Source§

impl PartialEq for u32_ule

Source§

impl PartialEq for u64_ube

Source§

impl PartialEq for u64_ule

Source§

impl PartialEq for u128_ube

Source§

impl PartialEq for u128_ule

Source§

impl PartialEq for ArchivedCString

Source§

impl PartialEq for ArchivedIpv4Addr

Source§

impl PartialEq for ArchivedIpv6Addr

Source§

impl PartialEq for ArchivedSocketAddrV4

Source§

impl PartialEq for ArchivedSocketAddrV6

Source§

impl PartialEq for ArchivedOptionNonZeroI8

Source§

impl PartialEq for ArchivedOptionNonZeroI16

Source§

impl PartialEq for ArchivedOptionNonZeroI32

Source§

impl PartialEq for ArchivedOptionNonZeroI64

Source§

impl PartialEq for ArchivedOptionNonZeroI128

Source§

impl PartialEq for ArchivedOptionNonZeroU8

Source§

impl PartialEq for ArchivedOptionNonZeroU16

Source§

impl PartialEq for ArchivedOptionNonZeroU32

Source§

impl PartialEq for ArchivedOptionNonZeroU64

Source§

impl PartialEq for ArchivedOptionNonZeroU128

Source§

impl PartialEq for ArchivedRangeFull

Source§

impl PartialEq for ArchivedString

Source§

impl PartialEq for ArchivedDuration

Source§

impl PartialEq for simdutf8::basic::Utf8Error

Source§

impl PartialEq for simdutf8::compat::Utf8Error

Source§

impl PartialEq for DefaultToHost

Source§

impl PartialEq for DefaultToUnknown

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 RawValue

1.29.0 · Source§

impl PartialEq<&str> for OsString

Source§

impl PartialEq<&str> for ArchivedString

Source§

impl PartialEq<&CStr> for ArchivedCString

Source§

impl PartialEq<ArchivedRelocationKind> for RelocationKind

Source§

impl PartialEq<ArchivedRelocationTarget> for RelocationTarget

Source§

impl PartialEq<RelocationKind> for ArchivedRelocationKind

Source§

impl PartialEq<RelocationTarget> for ArchivedRelocationTarget

Source§

impl PartialEq<ArchivedCustomSectionProtection> for CustomSectionProtection

Source§

impl PartialEq<CustomSectionProtection> for ArchivedCustomSectionProtection

Source§

impl PartialEq<ArchivedSymbol> for Symbol

Source§

impl PartialEq<Symbol> for ArchivedSymbol

Source§

impl PartialEq<IpAddr> for ArchivedIpAddr

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv4Addr

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv6Addr

Source§

impl PartialEq<SocketAddr> for ArchivedSocketAddr

Source§

impl PartialEq<ArchivedIpAddr> for IpAddr

Source§

impl PartialEq<ArchivedSocketAddr> for SocketAddr

Source§

impl PartialEq<char> for char_be

Source§

impl PartialEq<char> for char_le

Source§

impl PartialEq<char> for char_ube

Source§

impl PartialEq<char> for char_ule

Source§

impl PartialEq<f32> for f32_be

Source§

impl PartialEq<f32> for f32_le

Source§

impl PartialEq<f32> for f32_ube

Source§

impl PartialEq<f32> for f32_ule

Source§

impl PartialEq<f32> for RawValue

Source§

impl PartialEq<f64> for f64_be

Source§

impl PartialEq<f64> for f64_le

Source§

impl PartialEq<f64> for f64_ube

Source§

impl PartialEq<f64> for f64_ule

Source§

impl PartialEq<f64> for RawValue

Source§

impl PartialEq<i16> for i16_be

Source§

impl PartialEq<i16> for i16_le

Source§

impl PartialEq<i16> for i16_ube

Source§

impl PartialEq<i16> for i16_ule

Source§

impl PartialEq<i32> for i32_be

Source§

impl PartialEq<i32> for i32_le

Source§

impl PartialEq<i32> for i32_ube

Source§

impl PartialEq<i32> for i32_ule

Source§

impl PartialEq<i32> for RawValue

Source§

impl PartialEq<i64> for i64_be

Source§

impl PartialEq<i64> for i64_le

Source§

impl PartialEq<i64> for i64_ube

Source§

impl PartialEq<i64> for i64_ule

Source§

impl PartialEq<i64> for RawValue

Source§

impl PartialEq<i128> for i128_be

Source§

impl PartialEq<i128> for i128_le

Source§

impl PartialEq<i128> for i128_ube

Source§

impl PartialEq<i128> for i128_ule

Source§

impl PartialEq<i128> for RawValue

1.0.0 · Source§

impl PartialEq<str> for OsStr

1.0.0 · Source§

impl PartialEq<str> for OsString

Source§

impl PartialEq<str> for bytes::bytes::Bytes

Source§

impl PartialEq<str> for BytesMut

Source§

impl PartialEq<str> for ArchivedString

Source§

impl PartialEq<u16> for u16_be

Source§

impl PartialEq<u16> for u16_le

Source§

impl PartialEq<u16> for u16_ube

Source§

impl PartialEq<u16> for u16_ule

Source§

impl PartialEq<u32> for u32_be

Source§

impl PartialEq<u32> for u32_le

Source§

impl PartialEq<u32> for u32_ube

Source§

impl PartialEq<u32> for u32_ule

Source§

impl PartialEq<u32> for RawValue

Source§

impl PartialEq<u64> for u64_be

Source§

impl PartialEq<u64> for u64_le

Source§

impl PartialEq<u64> for u64_ube

Source§

impl PartialEq<u64> for u64_ule

Source§

impl PartialEq<u64> for RawValue

Source§

impl PartialEq<u128> for u128_be

Source§

impl PartialEq<u128> for u128_le

Source§

impl PartialEq<u128> for u128_ube

Source§

impl PartialEq<u128> for u128_ule

Source§

impl PartialEq<u128> for RawValue

Source§

impl PartialEq<ArchivedDwarf> for Dwarf

Source§

impl PartialEq<Dwarf> for ArchivedDwarf

Source§

impl PartialEq<ArchivedRelocation> for Relocation

Source§

impl PartialEq<Relocation> for ArchivedRelocation

Source§

impl PartialEq<ArchivedCustomSection> for CustomSection

Source§

impl PartialEq<ArchivedSectionBody> for SectionBody

Source§

impl PartialEq<ArchivedSectionIndex> for SectionIndex

Source§

impl PartialEq<CustomSection> for ArchivedCustomSection

Source§

impl PartialEq<SectionBody> for ArchivedSectionBody

Source§

impl PartialEq<SectionIndex> for ArchivedSectionIndex

Source§

impl PartialEq<RangeFull> for ArchivedRangeFull

Source§

impl PartialEq<String> for bytes::bytes::Bytes

Source§

impl PartialEq<String> for BytesMut

Source§

impl PartialEq<String> for ArchivedString

Source§

impl PartialEq<Vec<u8>> for bytes::bytes::Bytes

Source§

impl PartialEq<Vec<u8>> for BytesMut

Source§

impl PartialEq<CString> for ArchivedCString

1.16.0 · Source§

impl PartialEq<Ipv4Addr> for IpAddr

Source§

impl PartialEq<Ipv4Addr> for ArchivedIpv4Addr

1.16.0 · Source§

impl PartialEq<Ipv6Addr> for IpAddr

Source§

impl PartialEq<Ipv6Addr> for ArchivedIpv6Addr

Source§

impl PartialEq<SocketAddrV4> for ArchivedSocketAddrV4

Source§

impl PartialEq<SocketAddrV6> for ArchivedSocketAddrV6

Source§

impl PartialEq<NonZero<i16>> for NonZeroI16_be

Source§

impl PartialEq<NonZero<i16>> for NonZeroI16_le

Source§

impl PartialEq<NonZero<i16>> for NonZeroI16_ube

Source§

impl PartialEq<NonZero<i16>> for NonZeroI16_ule

Source§

impl PartialEq<NonZero<i32>> for NonZeroI32_be

Source§

impl PartialEq<NonZero<i32>> for NonZeroI32_le

Source§

impl PartialEq<NonZero<i32>> for NonZeroI32_ube

Source§

impl PartialEq<NonZero<i32>> for NonZeroI32_ule

Source§

impl PartialEq<NonZero<i64>> for NonZeroI64_be

Source§

impl PartialEq<NonZero<i64>> for NonZeroI64_le

Source§

impl PartialEq<NonZero<i64>> for NonZeroI64_ube

Source§

impl PartialEq<NonZero<i64>> for NonZeroI64_ule

Source§

impl PartialEq<NonZero<i128>> for NonZeroI128_be

Source§

impl PartialEq<NonZero<i128>> for NonZeroI128_le

Source§

impl PartialEq<NonZero<i128>> for NonZeroI128_ube

Source§

impl PartialEq<NonZero<i128>> for NonZeroI128_ule

Source§

impl PartialEq<NonZero<u16>> for NonZeroU16_be

Source§

impl PartialEq<NonZero<u16>> for NonZeroU16_le

Source§

impl PartialEq<NonZero<u16>> for NonZeroU16_ube

Source§

impl PartialEq<NonZero<u16>> for NonZeroU16_ule

Source§

impl PartialEq<NonZero<u32>> for NonZeroU32_be

Source§

impl PartialEq<NonZero<u32>> for NonZeroU32_le

Source§

impl PartialEq<NonZero<u32>> for NonZeroU32_ube

Source§

impl PartialEq<NonZero<u32>> for NonZeroU32_ule

Source§

impl PartialEq<NonZero<u64>> for NonZeroU64_be

Source§

impl PartialEq<NonZero<u64>> for NonZeroU64_le

Source§

impl PartialEq<NonZero<u64>> for NonZeroU64_ube

Source§

impl PartialEq<NonZero<u64>> for NonZeroU64_ule

Source§

impl PartialEq<NonZero<u128>> for NonZeroU128_be

Source§

impl PartialEq<NonZero<u128>> for NonZeroU128_le

Source§

impl PartialEq<NonZero<u128>> for NonZeroU128_ube

Source§

impl PartialEq<NonZero<u128>> for NonZeroU128_ule

Source§

impl PartialEq<Duration> for ArchivedDuration

1.0.0 · Source§

impl PartialEq<OsStr> for str

1.8.0 · Source§

impl PartialEq<OsStr> for Path

1.8.0 · Source§

impl PartialEq<OsStr> for PathBuf

1.0.0 · Source§

impl PartialEq<OsString> for str

1.8.0 · Source§

impl PartialEq<OsString> for Path

1.8.0 · Source§

impl PartialEq<OsString> for PathBuf

1.8.0 · Source§

impl PartialEq<Path> for OsStr

1.8.0 · Source§

impl PartialEq<Path> for OsString

1.6.0 · Source§

impl PartialEq<Path> for PathBuf

1.8.0 · Source§

impl PartialEq<PathBuf> for OsStr

1.8.0 · Source§

impl PartialEq<PathBuf> for OsString

1.6.0 · Source§

impl PartialEq<PathBuf> for Path

Source§

impl PartialEq<Bytes> for &str

Source§

impl PartialEq<Bytes> for &[u8]

Source§

impl PartialEq<Bytes> for str

Source§

impl PartialEq<Bytes> for String

Source§

impl PartialEq<Bytes> for Vec<u8>

Source§

impl PartialEq<Bytes> for BytesMut

Source§

impl PartialEq<Bytes> for [u8]

Source§

impl PartialEq<BytesMut> for &str

Source§

impl PartialEq<BytesMut> for &[u8]

Source§

impl PartialEq<BytesMut> for str

Source§

impl PartialEq<BytesMut> for String

Source§

impl PartialEq<BytesMut> for Vec<u8>

Source§

impl PartialEq<BytesMut> for bytes::bytes::Bytes

Source§

impl PartialEq<BytesMut> for [u8]

Source§

impl PartialEq<EnumSet<CpuFeature>> for CpuFeature

Source§

impl PartialEq<NonZeroI16_be> for NonZero<i16>

Source§

impl PartialEq<NonZeroI16_le> for NonZero<i16>

Source§

impl PartialEq<NonZeroI32_be> for NonZero<i32>

Source§

impl PartialEq<NonZeroI32_le> for NonZero<i32>

Source§

impl PartialEq<NonZeroI64_be> for NonZero<i64>

Source§

impl PartialEq<NonZeroI64_le> for NonZero<i64>

Source§

impl PartialEq<NonZeroI128_be> for NonZero<i128>

Source§

impl PartialEq<NonZeroI128_le> for NonZero<i128>

Source§

impl PartialEq<NonZeroU16_be> for NonZero<u16>

Source§

impl PartialEq<NonZeroU16_le> for NonZero<u16>

Source§

impl PartialEq<NonZeroU32_be> for NonZero<u32>

Source§

impl PartialEq<NonZeroU32_le> for NonZero<u32>

Source§

impl PartialEq<NonZeroU64_be> for NonZero<u64>

Source§

impl PartialEq<NonZeroU64_le> for NonZero<u64>

Source§

impl PartialEq<NonZeroU128_be> for NonZero<u128>

Source§

impl PartialEq<NonZeroU128_le> for NonZero<u128>

Source§

impl PartialEq<char_be> for char

Source§

impl PartialEq<char_le> for char

Source§

impl PartialEq<f32_be> for f32

Source§

impl PartialEq<f32_le> for f32

Source§

impl PartialEq<f64_be> for f64

Source§

impl PartialEq<f64_le> for f64

Source§

impl PartialEq<i16_be> for i16

Source§

impl PartialEq<i16_le> for i16

Source§

impl PartialEq<i32_be> for i32

Source§

impl PartialEq<i32_le> for i32

Source§

impl PartialEq<i64_be> for i64

Source§

impl PartialEq<i64_le> for i64

Source§

impl PartialEq<i128_be> for i128

Source§

impl PartialEq<i128_le> for i128

Source§

impl PartialEq<u16_be> for u16

Source§

impl PartialEq<u16_le> for u16

Source§

impl PartialEq<u32_be> for u32

Source§

impl PartialEq<u32_le> for u32

Source§

impl PartialEq<u64_be> for u64

Source§

impl PartialEq<u64_le> for u64

Source§

impl PartialEq<u128_be> for u128

Source§

impl PartialEq<u128_le> for u128

Source§

impl PartialEq<NonZeroI16_ube> for NonZero<i16>

Source§

impl PartialEq<NonZeroI16_ule> for NonZero<i16>

Source§

impl PartialEq<NonZeroI32_ube> for NonZero<i32>

Source§

impl PartialEq<NonZeroI32_ule> for NonZero<i32>

Source§

impl PartialEq<NonZeroI64_ube> for NonZero<i64>

Source§

impl PartialEq<NonZeroI64_ule> for NonZero<i64>

Source§

impl PartialEq<NonZeroI128_ube> for NonZero<i128>

Source§

impl PartialEq<NonZeroI128_ule> for NonZero<i128>

Source§

impl PartialEq<NonZeroU16_ube> for NonZero<u16>

Source§

impl PartialEq<NonZeroU16_ule> for NonZero<u16>

Source§

impl PartialEq<NonZeroU32_ube> for NonZero<u32>

Source§

impl PartialEq<NonZeroU32_ule> for NonZero<u32>

Source§

impl PartialEq<NonZeroU64_ube> for NonZero<u64>

Source§

impl PartialEq<NonZeroU64_ule> for NonZero<u64>

Source§

impl PartialEq<NonZeroU128_ube> for NonZero<u128>

Source§

impl PartialEq<NonZeroU128_ule> for NonZero<u128>

Source§

impl PartialEq<char_ube> for char

Source§

impl PartialEq<char_ule> for char

Source§

impl PartialEq<f32_ube> for f32

Source§

impl PartialEq<f32_ule> for f32

Source§

impl PartialEq<f64_ube> for f64

Source§

impl PartialEq<f64_ule> for f64

Source§

impl PartialEq<i16_ube> for i16

Source§

impl PartialEq<i16_ule> for i16

Source§

impl PartialEq<i32_ube> for i32

Source§

impl PartialEq<i32_ule> for i32

Source§

impl PartialEq<i64_ube> for i64

Source§

impl PartialEq<i64_ule> for i64

Source§

impl PartialEq<i128_ube> for i128

Source§

impl PartialEq<i128_ule> for i128

Source§

impl PartialEq<u16_ube> for u16

Source§

impl PartialEq<u16_ule> for u16

Source§

impl PartialEq<u32_ube> for u32

Source§

impl PartialEq<u32_ule> for u32

Source§

impl PartialEq<u64_ube> for u64

Source§

impl PartialEq<u64_ule> for u64

Source§

impl PartialEq<u128_ube> for u128

Source§

impl PartialEq<u128_ule> for u128

Source§

impl PartialEq<ArchivedCString> for &CStr

Source§

impl PartialEq<ArchivedCString> for CString

Source§

impl PartialEq<ArchivedIpv4Addr> for Ipv4Addr

Source§

impl PartialEq<ArchivedIpv6Addr> for Ipv6Addr

Source§

impl PartialEq<ArchivedSocketAddrV4> for SocketAddrV4

Source§

impl PartialEq<ArchivedSocketAddrV6> for SocketAddrV6

Source§

impl PartialEq<ArchivedString> for &str

Source§

impl PartialEq<ArchivedString> for str

Source§

impl PartialEq<ArchivedString> for String

Source§

impl PartialEq<ArchivedDuration> for Duration

Source§

impl PartialEq<[u8]> for bytes::bytes::Bytes

Source§

impl PartialEq<[u8]> for BytesMut

Source§

impl<'a> PartialEq for CompiledFunctionUnwindInfoReference<'a>

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.10.0 · Source§

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

1.79.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.29.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

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

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, T> PartialEq<&'a T> for bytes::bytes::Bytes
where Bytes: PartialEq<T>, T: ?Sized,

Source§

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

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,

1.55.0 · Source§

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

Source§

impl<Dyn> PartialEq for wasmer_types::lib::std::ptr::DynMetadata<Dyn>
where Dyn: ?Sized,

Source§

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

1.4.0 · Source§

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

1.29.0 · Source§

impl<H> PartialEq for BuildHasherDefault<H>

1.0.0 · Source§

impl<Idx> PartialEq for wasmer_types::lib::std::ops::Range<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<Idx> PartialEq for wasmer_types::lib::std::ops::RangeFrom<Idx>
where Idx: PartialEq,

1.26.0 · Source§

impl<Idx> PartialEq for wasmer_types::lib::std::ops::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<Idx> PartialEq for core::range::Range<Idx>
where Idx: PartialEq,

Source§

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

Source§

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

Source§

impl<K, AK> PartialEq<BTreeSet<K>> for ArchivedBTreeSet<AK>
where AK: PartialEq<K>,

Source§

impl<K, AK, S> PartialEq<HashSet<K, S>> for ArchivedHashSet<AK>
where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, S: BuildHasher,

Source§

impl<K, AK, S> PartialEq<ArchivedHashSet<AK>> for std::collections::hash::set::HashSet<K, S>
where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, S: BuildHasher,

Source§

impl<K, H> PartialEq for ArchivedIndexSet<K, H>
where K: PartialEq,

Source§

impl<K, H> PartialEq for ArchivedHashSet<K, H>
where K: Hash + Eq, H: Hasher + Default,

Source§

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,

Source§

impl<K, V> PartialEq for SecondaryMap<K, V>
where K: EntityRef, V: Clone + PartialEq,

Source§

impl<K, V> PartialEq for indexmap::map::slice::Slice<K, V>
where K: PartialEq, V: PartialEq,

Source§

impl<K, V> PartialEq for Entry<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,

Source§

impl<K, V, AK, AV> PartialEq<BTreeMap<K, V>> for ArchivedBTreeMap<AK, AV>
where AK: PartialEq<K>, AV: PartialEq<V>,

Source§

impl<K, V, AK, AV> PartialEq<ArchivedHashMap<AK, AV>> for std::collections::hash::map::HashMap<K, V>
where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, AV: PartialEq<V>,

Source§

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

Source§

impl<K, V, H> PartialEq for ArchivedIndexMap<K, V, H>
where K: PartialEq, V: PartialEq,

Source§

impl<K, V, H> PartialEq for ArchivedHashMap<K, V, H>
where K: Hash + Eq, V: PartialEq, H: Default + Hasher,

1.0.0 · Source§

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

Source§

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

Source§

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

Source§

impl<K, V, const E1: usize, const E2: usize> PartialEq<ArchivedBTreeMap<K, V, E2>> for ArchivedBTreeMap<K, V, E1>
where K: PartialEq, V: PartialEq,

Available on crate feature alloc only.
Source§

impl<K, V: PartialEq> PartialEq for PrimaryMap<K, V>
where K: EntityRef + 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<T0> PartialEq for ArchivedTuple1<T0>
where T0: PartialEq,

Source§

impl<T0, T1> PartialEq for ArchivedTuple2<T0, T1>
where T0: PartialEq, T1: PartialEq,

Source§

impl<T0, T1, T2> PartialEq for ArchivedTuple3<T0, T1, T2>
where T0: PartialEq, T1: PartialEq, T2: PartialEq,

Source§

impl<T0, T1, T2, T3> PartialEq for ArchivedTuple4<T0, T1, T2, T3>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq,

Source§

impl<T0, T1, T2, T3, T4> PartialEq for ArchivedTuple5<T0, T1, T2, T3, T4>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5> PartialEq for ArchivedTuple6<T0, T1, T2, T3, T4, T5>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6> PartialEq for ArchivedTuple7<T0, T1, T2, T3, T4, T5, T6>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> PartialEq for ArchivedTuple8<T0, T1, T2, T3, T4, T5, T6, T7>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> PartialEq for ArchivedTuple9<T0, T1, T2, T3, T4, T5, T6, T7, T8>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> PartialEq for ArchivedTuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq, T9: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> PartialEq for ArchivedTuple11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq, T9: PartialEq, T10: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> PartialEq for ArchivedTuple12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq, T9: PartialEq, T10: PartialEq, T11: PartialEq,

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> PartialEq for ArchivedTuple13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
where T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq, T6: PartialEq, T7: PartialEq, T8: PartialEq, T9: PartialEq, T10: PartialEq, T11: PartialEq, T12: PartialEq,

1.17.0 · Source§

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

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.36.0 · Source§

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

Source§

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

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

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

1.0.0 · Source§

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

1.70.0 · Source§

impl<T> PartialEq for 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.25.0 · Source§

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

1.0.0 · Source§

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

1.70.0 · Source§

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

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.0.0 · Source§

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

Source§

impl<T> PartialEq for EnumSet<T>
where T: PartialEq + EnumSetType, <T as EnumSetTypePrivate>::Repr: PartialEq,

Source§

impl<T> PartialEq for indexmap::set::slice::Slice<T>
where T: PartialEq,

Source§

impl<T> PartialEq for ArchivedOptionBox<T>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

1.19.0 · Source§

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

Source§

impl<T> PartialEq<Bytes> for ArchivedVec<T>
where T: Archive, Bytes: PartialEq<[T]>,

Source§

impl<T> PartialEq<T> for EnumSet<T>
where T: EnumSetType,

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 Rc<T, A>
where T: PartialEq + ?Sized, A: Allocator,

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

impl<T, A> PartialEq for 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, E> PartialEq for Result<T, E>
where T: PartialEq, E: PartialEq,

Source§

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

Source§

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

Source§

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,

Source§

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

Source§

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

Source§

impl<T, TF, U, UF> PartialEq<ArchivedRc<U, UF>> for ArchivedRc<T, TF>

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,

Source§

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

Source§

impl<T, U> PartialEq<Option<Box<T>>> for ArchivedOptionBox<U>
where U: ArchivePointee + PartialEq<T> + ?Sized, T: ?Sized,

Source§

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

1.0.0 · Source§

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

Source§

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

Source§

impl<T, U> PartialEq<Box<U>> for ArchivedBox<T>
where T: ArchivePointee + PartialEq<U> + ?Sized, U: ?Sized,

Source§

impl<T, U> PartialEq<Range<T>> for ArchivedRange<U>
where U: PartialEq<T>,

Source§

impl<T, U> PartialEq<RangeFrom<T>> for ArchivedRangeFrom<U>
where U: PartialEq<T>,

Source§

impl<T, U> PartialEq<RangeInclusive<T>> for ArchivedRangeInclusive<U>
where U: PartialEq<T>,

Source§

impl<T, U> PartialEq<RangeTo<T>> for ArchivedRangeTo<U>
where U: PartialEq<T>,

Source§

impl<T, U> PartialEq<RangeToInclusive<T>> for ArchivedRangeToInclusive<U>
where U: PartialEq<T>,

Source§

impl<T, U> PartialEq<Rc<U>> for ArchivedRc<T, RcFlavor>
where T: ArchivePointee + PartialEq<U> + ?Sized, U: ?Sized,

Source§

impl<T, U> PartialEq<Arc<U>> for ArchivedRc<T, ArcFlavor>
where T: ArchivePointee + PartialEq<U> + ?Sized, U: ?Sized,

Source§

impl<T, U> PartialEq<Vec<U>> for ArchivedVec<T>
where T: PartialEq<U>,

Source§

impl<T, U> PartialEq<VecDeque<U>> for ArchivedVec<T>
where T: PartialEq<U>,

Source§

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

Source§

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

Source§

impl<T, U> PartialEq<ArchivedVec<U>> for ArchivedVec<T>
where T: PartialEq<U>,

1.0.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.48.0 · Source§

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

1.46.0 · Source§

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

1.46.0 · Source§

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

1.0.0 · Source§

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

1.48.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

Source§

impl<T, U, E, F> PartialEq<Result<T, E>> for ArchivedResult<U, F>
where U: PartialEq<T>, F: PartialEq<E>,

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

Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for ArchivedVec<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, U, const N: usize> PartialEq<ArchivedVec<T>> for [U; N]
where T: PartialEq<U>,

Source§

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

Source§

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

Source§

impl<T: PartialEq + ReservedValue> PartialEq for PackedOption<T>

Source§

impl<T: PartialEq> PartialEq for ExportType<T>

Source§

impl<T: PartialEq> PartialEq for ImportType<T>

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,

Source§

impl<UK, K, S> PartialEq<IndexSet<UK, S>> for ArchivedIndexSet<K>
where K: PartialEq<UK>, S: BuildHasher,

Source§

impl<UK, K, UV, V, S> PartialEq<IndexMap<UK, UV, S>> for ArchivedIndexMap<K, V>
where K: PartialEq<UK>, V: PartialEq<UV>, S: BuildHasher,

Source§

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

Source§

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