Trait wasmer_types::lib::std::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 equality comparisons.

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 partial equality, for types that do not have a full equivalence relation. For example, in floating point numbers NaN != NaN, so floating point types implement PartialEq but not Eq. Formally 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):

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

  • Transitive: if A: PartialEq<B> and B: PartialEq<C> and A: PartialEq<C>, then a == b and b == c implies a == c.

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

Derivable

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

How can I implement PartialEq?

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

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

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

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

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

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

How can I compare two different types?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Examples

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

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

Required Methods§

source

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

This method tests for self and other values to be equal, and is used by ==.

Provided Methods§

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§

1.29.0 · source§

impl PartialEq<&str> for OsString

source§

impl PartialEq<&str> for ArchivedString

source§

impl PartialEq<&CStr> for ArchivedCString

source§

impl PartialEq<RelocationKind> for RelocationKind

source§

impl PartialEq<RelocationTarget> for RelocationTarget

source§

impl PartialEq<CustomSectionProtection> for CustomSectionProtection

source§

impl PartialEq<Symbol> for Symbol

source§

impl PartialEq<CpuFeature> for CpuFeature

source§

impl PartialEq<CompiledFunctionUnwindInfo> for CompiledFunctionUnwindInfo

source§

impl PartialEq<Aarch64Architecture> for Aarch64Architecture

source§

impl PartialEq<Architecture> for Architecture

source§

impl PartialEq<BinaryFormat> for BinaryFormat

source§

impl PartialEq<CallingConvention> for CallingConvention

source§

impl PartialEq<Endianness> for Endianness

source§

impl PartialEq<Environment> for Environment

source§

impl PartialEq<ExportIndex> for ExportIndex

source§

impl PartialEq<ExternType> for ExternType

source§

impl PartialEq<GlobalInit> for GlobalInit

source§

impl PartialEq<ImportIndex> for ImportIndex

source§

impl PartialEq<LibCall> for LibCall

source§

impl PartialEq<MemoryStyle> for MemoryStyle

source§

impl PartialEq<Mutability> for Mutability

source§

impl PartialEq<OperatingSystem> for OperatingSystem

source§

impl PartialEq<PointerWidth> for PointerWidth

source§

impl PartialEq<TableStyle> for TableStyle

source§

impl PartialEq<TrapCode> for TrapCode

source§

impl PartialEq<Type> for Type

source§

impl PartialEq<Vendor> for Vendor

source§

impl PartialEq<MemoryError> for MemoryError

1.34.0 · source§

impl PartialEq<Infallible> for Infallible

1.28.0 · source§

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

source§

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

1.12.0 · source§

impl PartialEq<RecvTimeoutError> for RecvTimeoutError

source§

impl PartialEq<TryRecvError> for TryRecvError

source§

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

source§

impl PartialEq<TryReserveErrorKind> for TryReserveErrorKind

source§

impl PartialEq<Which> for Which

1.7.0 · source§

impl PartialEq<IpAddr> for IpAddr

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<Ipv6MulticastScope> for Ipv6MulticastScope

source§

impl PartialEq<SocketAddr> for SocketAddr

source§

impl PartialEq<SocketAddr> for ArchivedSocketAddr

source§

impl PartialEq<FpCategory> for FpCategory

1.55.0 · source§

impl PartialEq<IntErrorKind> for IntErrorKind

source§

impl PartialEq<SearchStep> for SearchStep

1.65.0 · source§

impl PartialEq<BacktraceStatus> for BacktraceStatus

source§

impl PartialEq<VarError> for VarError

source§

impl PartialEq<SeekFrom> for SeekFrom

source§

impl PartialEq<ErrorKind> for ErrorKind

source§

impl PartialEq<Shutdown> for Shutdown

source§

impl PartialEq<BacktraceStyle> for BacktraceStyle

source§

impl PartialEq<_Unwind_Action> for _Unwind_Action

source§

impl PartialEq<_Unwind_Reason_Code> for _Unwind_Reason_Code

source§

impl PartialEq<ArchivedIpAddr> for IpAddr

source§

impl PartialEq<ArchivedIpAddr> for ArchivedIpAddr

source§

impl PartialEq<ArchivedSocketAddr> for SocketAddr

source§

impl PartialEq<ArchivedSocketAddr> for ArchivedSocketAddr

source§

impl PartialEq<OffsetError> for OffsetError

source§

impl PartialEq<CDataModel> for CDataModel

source§

impl PartialEq<Size> for Size

source§

impl PartialEq<ParseError> for ParseError

source§

impl PartialEq<ArmArchitecture> for ArmArchitecture

source§

impl PartialEq<CustomVendor> for CustomVendor

source§

impl PartialEq<Mips32Architecture> for Mips32Architecture

source§

impl PartialEq<Mips64Architecture> for Mips64Architecture

source§

impl PartialEq<Riscv32Architecture> for Riscv32Architecture

source§

impl PartialEq<Riscv64Architecture> for Riscv64Architecture

source§

impl PartialEq<X86_32Architecture> for X86_32Architecture

source§

impl PartialEq<bool> for bool

source§

impl PartialEq<char> for char

§

impl PartialEq<char> for BigEndian<char>

§

impl PartialEq<char> for LittleEndian<char>

§

impl PartialEq<char> for NativeEndian<char>

source§

impl PartialEq<f32> for f32

source§

impl PartialEq<f32> for RawValue

§

impl PartialEq<f32> for BigEndian<f32>

§

impl PartialEq<f32> for LittleEndian<f32>

§

impl PartialEq<f32> for NativeEndian<f32>

source§

impl PartialEq<f64> for f64

source§

impl PartialEq<f64> for RawValue

§

impl PartialEq<f64> for BigEndian<f64>

§

impl PartialEq<f64> for LittleEndian<f64>

§

impl PartialEq<f64> for NativeEndian<f64>

source§

impl PartialEq<i8> for i8

source§

impl PartialEq<i16> for i16

§

impl PartialEq<i16> for BigEndian<i16>

§

impl PartialEq<i16> for LittleEndian<i16>

§

impl PartialEq<i16> for NativeEndian<i16>

source§

impl PartialEq<i32> for i32

source§

impl PartialEq<i32> for RawValue

§

impl PartialEq<i32> for BigEndian<i32>

§

impl PartialEq<i32> for LittleEndian<i32>

§

impl PartialEq<i32> for NativeEndian<i32>

source§

impl PartialEq<i64> for i64

source§

impl PartialEq<i64> for RawValue

§

impl PartialEq<i64> for BigEndian<i64>

§

impl PartialEq<i64> for LittleEndian<i64>

§

impl PartialEq<i64> for NativeEndian<i64>

source§

impl PartialEq<i128> for i128

source§

impl PartialEq<i128> for RawValue

§

impl PartialEq<i128> for BigEndian<i128>

§

impl PartialEq<i128> for LittleEndian<i128>

§

impl PartialEq<i128> for NativeEndian<i128>

source§

impl PartialEq<isize> for isize

source§

impl PartialEq<!> for !

source§

impl PartialEq<str> for str

source§

impl PartialEq<str> for OsStr

source§

impl PartialEq<str> for OsString

source§

impl PartialEq<str> for ArchivedString

source§

impl PartialEq<u8> for u8

source§

impl PartialEq<u16> for u16

§

impl PartialEq<u16> for BigEndian<u16>

§

impl PartialEq<u16> for LittleEndian<u16>

§

impl PartialEq<u16> for NativeEndian<u16>

source§

impl PartialEq<u32> for u32

source§

impl PartialEq<u32> for RawValue

§

impl PartialEq<u32> for BigEndian<u32>

§

impl PartialEq<u32> for LittleEndian<u32>

§

impl PartialEq<u32> for NativeEndian<u32>

source§

impl PartialEq<u64> for u64

source§

impl PartialEq<u64> for RawValue

§

impl PartialEq<u64> for BigEndian<u64>

§

impl PartialEq<u64> for LittleEndian<u64>

§

impl PartialEq<u64> for NativeEndian<u64>

source§

impl PartialEq<u128> for u128

source§

impl PartialEq<u128> for RawValue

§

impl PartialEq<u128> for BigEndian<u128>

§

impl PartialEq<u128> for LittleEndian<u128>

§

impl PartialEq<u128> for NativeEndian<u128>

source§

impl PartialEq<()> for ()

source§

impl PartialEq<usize> for usize

source§

impl PartialEq<FunctionAddressMap> for FunctionAddressMap

source§

impl PartialEq<InstructionAddressMap> for InstructionAddressMap

source§

impl PartialEq<Compilation> for Compilation

source§

impl PartialEq<CompiledFunction> for CompiledFunction

source§

impl PartialEq<CompiledFunctionFrameInfo> for CompiledFunctionFrameInfo

source§

impl PartialEq<Dwarf> for Dwarf

source§

impl PartialEq<FunctionBody> for FunctionBody

source§

impl PartialEq<CompileModuleInfo> for CompileModuleInfo

source§

impl PartialEq<Relocation> for Relocation

source§

impl PartialEq<CustomSection> for CustomSection

source§

impl PartialEq<SectionBody> for SectionBody

source§

impl PartialEq<SectionIndex> for SectionIndex

source§

impl PartialEq<SourceLoc> for SourceLoc

source§

impl PartialEq<Target> for Target

source§

impl PartialEq<TrapInformation> for TrapInformation

source§

impl PartialEq<Bytes> for Bytes

source§

impl PartialEq<CustomSectionIndex> for CustomSectionIndex

source§

impl PartialEq<DataIndex> for DataIndex

source§

impl PartialEq<DataInitializerLocation> for DataInitializerLocation

source§

impl PartialEq<ElemIndex> for ElemIndex

source§

impl PartialEq<Features> for Features

source§

impl PartialEq<FunctionIndex> for FunctionIndex

source§

impl PartialEq<FunctionType> for FunctionType

source§

impl PartialEq<GlobalIndex> for GlobalIndex

source§

impl PartialEq<GlobalType> for GlobalType

source§

impl PartialEq<ImportKey> for ImportKey

source§

impl PartialEq<LocalFunctionIndex> for LocalFunctionIndex

source§

impl PartialEq<LocalGlobalIndex> for LocalGlobalIndex

source§

impl PartialEq<LocalMemoryIndex> for LocalMemoryIndex

source§

impl PartialEq<LocalTableIndex> for LocalTableIndex

source§

impl PartialEq<MemoryIndex> for MemoryIndex

source§

impl PartialEq<MemoryType> for MemoryType

source§

impl PartialEq<ModuleInfo> for ModuleInfo

source§

impl PartialEq<OwnedDataInitializer> for OwnedDataInitializer

source§

impl PartialEq<PageCountOutOfRange> for PageCountOutOfRange

source§

impl PartialEq<Pages> for Pages

source§

impl PartialEq<SignatureIndex> for SignatureIndex

source§

impl PartialEq<StoreId> for StoreId

source§

impl PartialEq<TableIndex> for TableIndex

source§

impl PartialEq<TableInitializer> for TableInitializer

source§

impl PartialEq<TableType> for TableType

source§

impl PartialEq<Triple> for Triple

source§

impl PartialEq<V128> for V128

source§

impl PartialEq<TypeId> for TypeId

source§

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

1.33.0 · source§

impl PartialEq<PhantomPinned> for PhantomPinned

source§

impl PartialEq<Assume> for Assume

source§

impl PartialEq<RangeFull> for RangeFull

source§

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

source§

impl PartialEq<FromUtf8Error> for FromUtf8Error

source§

impl PartialEq<String> for String

source§

impl PartialEq<String> for ArchivedString

source§

impl PartialEq<RecvError> for RecvError

1.5.0 · source§

impl PartialEq<WaitTimeoutResult> for WaitTimeoutResult

1.57.0 · source§

impl PartialEq<TryReserveError> for alloc::collections::TryReserveError

1.64.0 · source§

impl PartialEq<CString> for CString

source§

impl PartialEq<CString> for ArchivedCString

1.64.0 · source§

impl PartialEq<FromVecWithNulError> for FromVecWithNulError

1.64.0 · source§

impl PartialEq<IntoStringError> for IntoStringError

1.64.0 · source§

impl PartialEq<NulError> for NulError

1.28.0 · source§

impl PartialEq<Layout> for Layout

1.50.0 · source§

impl PartialEq<LayoutError> for LayoutError

source§

impl PartialEq<AllocError> for AllocError

1.34.0 · source§

impl PartialEq<CharTryFromError> for CharTryFromError

1.20.0 · source§

impl PartialEq<ParseCharError> for ParseCharError

1.9.0 · source§

impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error

1.59.0 · source§

impl PartialEq<TryFromCharError> for TryFromCharError

1.27.0 · source§

impl PartialEq<CpuidResult> for CpuidResult

source§

impl PartialEq<CStr> for CStr

1.69.0 · source§

impl PartialEq<FromBytesUntilNulError> for FromBytesUntilNulError

1.64.0 · source§

impl PartialEq<FromBytesWithNulError> for FromBytesWithNulError

1.16.0 · source§

impl PartialEq<Ipv4Addr> for IpAddr

source§

impl PartialEq<Ipv4Addr> for Ipv4Addr

source§

impl PartialEq<Ipv4Addr> for ArchivedIpv4Addr

1.16.0 · source§

impl PartialEq<Ipv6Addr> for IpAddr

source§

impl PartialEq<Ipv6Addr> for Ipv6Addr

source§

impl PartialEq<Ipv6Addr> for ArchivedIpv6Addr

source§

impl PartialEq<AddrParseError> for AddrParseError

source§

impl PartialEq<SocketAddrV4> for SocketAddrV4

source§

impl PartialEq<SocketAddrV4> for ArchivedSocketAddrV4

source§

impl PartialEq<SocketAddrV6> for SocketAddrV6

source§

impl PartialEq<SocketAddrV6> for ArchivedSocketAddrV6

source§

impl PartialEq<ParseFloatError> for ParseFloatError

source§

impl PartialEq<ParseIntError> for ParseIntError

1.34.0 · source§

impl PartialEq<TryFromIntError> for TryFromIntError

1.34.0 · source§

impl PartialEq<NonZeroI8> for NonZeroI8

1.34.0 · source§

impl PartialEq<NonZeroI16> for NonZeroI16

§

impl PartialEq<NonZeroI16> for BigEndian<NonZeroI16>

§

impl PartialEq<NonZeroI16> for LittleEndian<NonZeroI16>

§

impl PartialEq<NonZeroI16> for NativeEndian<NonZeroI16>

1.34.0 · source§

impl PartialEq<NonZeroI32> for NonZeroI32

§

impl PartialEq<NonZeroI32> for BigEndian<NonZeroI32>

§

impl PartialEq<NonZeroI32> for LittleEndian<NonZeroI32>

§

impl PartialEq<NonZeroI32> for NativeEndian<NonZeroI32>

1.34.0 · source§

impl PartialEq<NonZeroI64> for NonZeroI64

§

impl PartialEq<NonZeroI64> for BigEndian<NonZeroI64>

§

impl PartialEq<NonZeroI64> for LittleEndian<NonZeroI64>

§

impl PartialEq<NonZeroI64> for NativeEndian<NonZeroI64>

1.34.0 · source§

impl PartialEq<NonZeroI128> for NonZeroI128

§

impl PartialEq<NonZeroI128> for BigEndian<NonZeroI128>

§

impl PartialEq<NonZeroI128> for LittleEndian<NonZeroI128>

§

impl PartialEq<NonZeroI128> for NativeEndian<NonZeroI128>

1.34.0 · source§

impl PartialEq<NonZeroIsize> for NonZeroIsize

1.28.0 · source§

impl PartialEq<NonZeroU8> for NonZeroU8

1.28.0 · source§

impl PartialEq<NonZeroU16> for NonZeroU16

§

impl PartialEq<NonZeroU16> for BigEndian<NonZeroU16>

§

impl PartialEq<NonZeroU16> for LittleEndian<NonZeroU16>

§

impl PartialEq<NonZeroU16> for NativeEndian<NonZeroU16>

1.28.0 · source§

impl PartialEq<NonZeroU32> for NonZeroU32

§

impl PartialEq<NonZeroU32> for BigEndian<NonZeroU32>

§

impl PartialEq<NonZeroU32> for LittleEndian<NonZeroU32>

§

impl PartialEq<NonZeroU32> for NativeEndian<NonZeroU32>

1.28.0 · source§

impl PartialEq<NonZeroU64> for NonZeroU64

§

impl PartialEq<NonZeroU64> for BigEndian<NonZeroU64>

§

impl PartialEq<NonZeroU64> for LittleEndian<NonZeroU64>

§

impl PartialEq<NonZeroU64> for NativeEndian<NonZeroU64>

1.28.0 · source§

impl PartialEq<NonZeroU128> for NonZeroU128

§

impl PartialEq<NonZeroU128> for BigEndian<NonZeroU128>

§

impl PartialEq<NonZeroU128> for LittleEndian<NonZeroU128>

§

impl PartialEq<NonZeroU128> for NativeEndian<NonZeroU128>

1.28.0 · source§

impl PartialEq<NonZeroUsize> for NonZeroUsize

source§

impl PartialEq<ParseBoolError> for ParseBoolError

source§

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

1.36.0 · source§

impl PartialEq<RawWaker> for RawWaker

1.36.0 · source§

impl PartialEq<RawWakerVTable> for RawWakerVTable

1.3.0 · source§

impl PartialEq<Duration> for Duration

source§

impl PartialEq<Duration> for ArchivedDuration

1.66.0 · source§

impl PartialEq<TryFromFloatSecsError> for TryFromFloatSecsError

source§

impl PartialEq<OsStr> for str

source§

impl PartialEq<OsStr> for OsStr

1.8.0 · source§

impl PartialEq<OsStr> for Path

1.8.0 · source§

impl PartialEq<OsStr> for PathBuf

source§

impl PartialEq<OsString> for str

source§

impl PartialEq<OsString> for OsString

1.8.0 · source§

impl PartialEq<OsString> for Path

1.8.0 · source§

impl PartialEq<OsString> for PathBuf

1.1.0 · source§

impl PartialEq<FileType> for FileType

source§

impl PartialEq<Permissions> for Permissions

source§

impl PartialEq<UCred> for UCred

1.8.0 · source§

impl PartialEq<Path> for OsStr

1.8.0 · source§

impl PartialEq<Path> for OsString

source§

impl PartialEq<Path> for Path

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<PathBuf> for PathBuf

1.7.0 · source§

impl PartialEq<StripPrefixError> for StripPrefixError

source§

impl PartialEq<ExitStatus> for ExitStatus

source§

impl PartialEq<ExitStatusError> for ExitStatusError

source§

impl PartialEq<Output> for Output

1.26.0 · source§

impl PartialEq<AccessError> for AccessError

1.19.0 · source§

impl PartialEq<ThreadId> for ThreadId

1.8.0 · source§

impl PartialEq<Instant> for Instant

1.8.0 · source§

impl PartialEq<SystemTime> for SystemTime

source§

impl PartialEq<EnumSet<CpuFeature>> for CpuFeature

source§

impl PartialEq<Error> for getrandom::error::Error

source§

impl PartialEq<ArchivedCString> for &CStr

source§

impl PartialEq<ArchivedCString> for CString

source§

impl PartialEq<ArchivedCString> for ArchivedCString

source§

impl PartialEq<ArchivedIpv4Addr> for Ipv4Addr

source§

impl PartialEq<ArchivedIpv4Addr> for ArchivedIpv4Addr

source§

impl PartialEq<ArchivedIpv6Addr> for Ipv6Addr

source§

impl PartialEq<ArchivedIpv6Addr> for ArchivedIpv6Addr

source§

impl PartialEq<ArchivedSocketAddrV4> for SocketAddrV4

source§

impl PartialEq<ArchivedSocketAddrV4> for ArchivedSocketAddrV4

source§

impl PartialEq<ArchivedSocketAddrV6> for SocketAddrV6

source§

impl PartialEq<ArchivedSocketAddrV6> for ArchivedSocketAddrV6

source§

impl PartialEq<ArchivedOptionNonZeroI8> for ArchivedOptionNonZeroI8

source§

impl PartialEq<ArchivedOptionNonZeroI16> for ArchivedOptionNonZeroI16

source§

impl PartialEq<ArchivedOptionNonZeroI32> for ArchivedOptionNonZeroI32

source§

impl PartialEq<ArchivedOptionNonZeroI64> for ArchivedOptionNonZeroI64

source§

impl PartialEq<ArchivedOptionNonZeroI128> for ArchivedOptionNonZeroI128

source§

impl PartialEq<ArchivedOptionNonZeroU8> for ArchivedOptionNonZeroU8

source§

impl PartialEq<ArchivedOptionNonZeroU16> for ArchivedOptionNonZeroU16

source§

impl PartialEq<ArchivedOptionNonZeroU32> for ArchivedOptionNonZeroU32

source§

impl PartialEq<ArchivedOptionNonZeroU64> for ArchivedOptionNonZeroU64

source§

impl PartialEq<ArchivedOptionNonZeroU128> for ArchivedOptionNonZeroU128

source§

impl PartialEq<ArchivedString> for &str

source§

impl PartialEq<ArchivedString> for str

source§

impl PartialEq<ArchivedString> for String

source§

impl PartialEq<ArchivedString> for ArchivedString

source§

impl PartialEq<ArchivedDuration> for Duration

source§

impl PartialEq<ArchivedDuration> for ArchivedDuration

source§

impl PartialEq<DefaultToHost> for DefaultToHost

source§

impl PartialEq<DefaultToUnknown> for DefaultToUnknown

source§

impl PartialEq<RawValue> for RawValue

§

impl PartialEq<BigEndian<char>> for char

§

impl PartialEq<BigEndian<char>> for BigEndian<char>

§

impl PartialEq<BigEndian<f32>> for f32

§

impl PartialEq<BigEndian<f32>> for BigEndian<f32>

§

impl PartialEq<BigEndian<f64>> for f64

§

impl PartialEq<BigEndian<f64>> for BigEndian<f64>

§

impl PartialEq<BigEndian<i16>> for i16

§

impl PartialEq<BigEndian<i16>> for BigEndian<i16>

§

impl PartialEq<BigEndian<i32>> for i32

§

impl PartialEq<BigEndian<i32>> for BigEndian<i32>

§

impl PartialEq<BigEndian<i64>> for i64

§

impl PartialEq<BigEndian<i64>> for BigEndian<i64>

§

impl PartialEq<BigEndian<i128>> for i128

§

impl PartialEq<BigEndian<i128>> for BigEndian<i128>

§

impl PartialEq<BigEndian<u16>> for u16

§

impl PartialEq<BigEndian<u16>> for BigEndian<u16>

§

impl PartialEq<BigEndian<u32>> for u32

§

impl PartialEq<BigEndian<u32>> for BigEndian<u32>

§

impl PartialEq<BigEndian<u64>> for u64

§

impl PartialEq<BigEndian<u64>> for BigEndian<u64>

§

impl PartialEq<BigEndian<u128>> for u128

§

impl PartialEq<BigEndian<u128>> for BigEndian<u128>

§

impl PartialEq<BigEndian<NonZeroI16>> for NonZeroI16

§

impl PartialEq<BigEndian<NonZeroI16>> for BigEndian<NonZeroI16>

§

impl PartialEq<BigEndian<NonZeroI32>> for NonZeroI32

§

impl PartialEq<BigEndian<NonZeroI32>> for BigEndian<NonZeroI32>

§

impl PartialEq<BigEndian<NonZeroI64>> for NonZeroI64

§

impl PartialEq<BigEndian<NonZeroI64>> for BigEndian<NonZeroI64>

§

impl PartialEq<BigEndian<NonZeroI128>> for NonZeroI128

§

impl PartialEq<BigEndian<NonZeroI128>> for BigEndian<NonZeroI128>

§

impl PartialEq<BigEndian<NonZeroU16>> for NonZeroU16

§

impl PartialEq<BigEndian<NonZeroU16>> for BigEndian<NonZeroU16>

§

impl PartialEq<BigEndian<NonZeroU32>> for NonZeroU32

§

impl PartialEq<BigEndian<NonZeroU32>> for BigEndian<NonZeroU32>

§

impl PartialEq<BigEndian<NonZeroU64>> for NonZeroU64

§

impl PartialEq<BigEndian<NonZeroU64>> for BigEndian<NonZeroU64>

§

impl PartialEq<BigEndian<NonZeroU128>> for NonZeroU128

§

impl PartialEq<BigEndian<NonZeroU128>> for BigEndian<NonZeroU128>

§

impl PartialEq<LittleEndian<char>> for char

§

impl PartialEq<LittleEndian<char>> for LittleEndian<char>

§

impl PartialEq<LittleEndian<f32>> for f32

§

impl PartialEq<LittleEndian<f32>> for LittleEndian<f32>

§

impl PartialEq<LittleEndian<f64>> for f64

§

impl PartialEq<LittleEndian<f64>> for LittleEndian<f64>

§

impl PartialEq<LittleEndian<i16>> for i16

§

impl PartialEq<LittleEndian<i16>> for LittleEndian<i16>

§

impl PartialEq<LittleEndian<i32>> for i32

§

impl PartialEq<LittleEndian<i32>> for LittleEndian<i32>

§

impl PartialEq<LittleEndian<i64>> for i64

§

impl PartialEq<LittleEndian<i64>> for LittleEndian<i64>

§

impl PartialEq<LittleEndian<i128>> for i128

§

impl PartialEq<LittleEndian<i128>> for LittleEndian<i128>

§

impl PartialEq<LittleEndian<u16>> for u16

§

impl PartialEq<LittleEndian<u16>> for LittleEndian<u16>

§

impl PartialEq<LittleEndian<u32>> for u32

§

impl PartialEq<LittleEndian<u32>> for LittleEndian<u32>

§

impl PartialEq<LittleEndian<u64>> for u64

§

impl PartialEq<LittleEndian<u64>> for LittleEndian<u64>

§

impl PartialEq<LittleEndian<u128>> for u128

§

impl PartialEq<LittleEndian<u128>> for LittleEndian<u128>

§

impl PartialEq<LittleEndian<NonZeroI16>> for NonZeroI16

§

impl PartialEq<LittleEndian<NonZeroI16>> for LittleEndian<NonZeroI16>

§

impl PartialEq<LittleEndian<NonZeroI32>> for NonZeroI32

§

impl PartialEq<LittleEndian<NonZeroI32>> for LittleEndian<NonZeroI32>

§

impl PartialEq<LittleEndian<NonZeroI64>> for NonZeroI64

§

impl PartialEq<LittleEndian<NonZeroI64>> for LittleEndian<NonZeroI64>

§

impl PartialEq<LittleEndian<NonZeroI128>> for NonZeroI128

§

impl PartialEq<LittleEndian<NonZeroI128>> for LittleEndian<NonZeroI128>

§

impl PartialEq<LittleEndian<NonZeroU16>> for NonZeroU16

§

impl PartialEq<LittleEndian<NonZeroU16>> for LittleEndian<NonZeroU16>

§

impl PartialEq<LittleEndian<NonZeroU32>> for NonZeroU32

§

impl PartialEq<LittleEndian<NonZeroU32>> for LittleEndian<NonZeroU32>

§

impl PartialEq<LittleEndian<NonZeroU64>> for NonZeroU64

§

impl PartialEq<LittleEndian<NonZeroU64>> for LittleEndian<NonZeroU64>

§

impl PartialEq<LittleEndian<NonZeroU128>> for NonZeroU128

§

impl PartialEq<LittleEndian<NonZeroU128>> for LittleEndian<NonZeroU128>

§

impl PartialEq<NativeEndian<char>> for char

§

impl PartialEq<NativeEndian<char>> for NativeEndian<char>

§

impl PartialEq<NativeEndian<f32>> for f32

§

impl PartialEq<NativeEndian<f32>> for NativeEndian<f32>

§

impl PartialEq<NativeEndian<f64>> for f64

§

impl PartialEq<NativeEndian<f64>> for NativeEndian<f64>

§

impl PartialEq<NativeEndian<i16>> for i16

§

impl PartialEq<NativeEndian<i16>> for NativeEndian<i16>

§

impl PartialEq<NativeEndian<i32>> for i32

§

impl PartialEq<NativeEndian<i32>> for NativeEndian<i32>

§

impl PartialEq<NativeEndian<i64>> for i64

§

impl PartialEq<NativeEndian<i64>> for NativeEndian<i64>

§

impl PartialEq<NativeEndian<i128>> for i128

§

impl PartialEq<NativeEndian<i128>> for NativeEndian<i128>

§

impl PartialEq<NativeEndian<u16>> for u16

§

impl PartialEq<NativeEndian<u16>> for NativeEndian<u16>

§

impl PartialEq<NativeEndian<u32>> for u32

§

impl PartialEq<NativeEndian<u32>> for NativeEndian<u32>

§

impl PartialEq<NativeEndian<u64>> for u64

§

impl PartialEq<NativeEndian<u64>> for NativeEndian<u64>

§

impl PartialEq<NativeEndian<u128>> for u128

§

impl PartialEq<NativeEndian<u128>> for NativeEndian<u128>

§

impl PartialEq<NativeEndian<NonZeroI16>> for NonZeroI16

§

impl PartialEq<NativeEndian<NonZeroI16>> for NativeEndian<NonZeroI16>

§

impl PartialEq<NativeEndian<NonZeroI32>> for NonZeroI32

§

impl PartialEq<NativeEndian<NonZeroI32>> for NativeEndian<NonZeroI32>

§

impl PartialEq<NativeEndian<NonZeroI64>> for NonZeroI64

§

impl PartialEq<NativeEndian<NonZeroI64>> for NativeEndian<NonZeroI64>

§

impl PartialEq<NativeEndian<NonZeroI128>> for NonZeroI128

§

impl PartialEq<NativeEndian<NonZeroI128>> for NativeEndian<NonZeroI128>

§

impl PartialEq<NativeEndian<NonZeroU16>> for NonZeroU16

§

impl PartialEq<NativeEndian<NonZeroU16>> for NativeEndian<NonZeroU16>

§

impl PartialEq<NativeEndian<NonZeroU32>> for NonZeroU32

§

impl PartialEq<NativeEndian<NonZeroU32>> for NativeEndian<NonZeroU32>

§

impl PartialEq<NativeEndian<NonZeroU64>> for NonZeroU64

§

impl PartialEq<NativeEndian<NonZeroU64>> for NativeEndian<NonZeroU64>

§

impl PartialEq<NativeEndian<NonZeroU128>> for NonZeroU128

§

impl PartialEq<NativeEndian<NonZeroU128>> for NativeEndian<NonZeroU128>

§

impl PartialEq<TryReserveError> for TryReserveError

§

impl PartialEq<Utf8Error> for Utf8Error

§

impl PartialEq<Utf8Error> for Utf8Error

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.6.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.6.0 · source§

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

1.6.0 · source§

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

source§

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

source§

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

1.10.0 · source§

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

source§

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

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>

source§

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

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>

source§

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

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>

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>

source§

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

source§

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

source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.8.0 · source§

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

1.6.0 · source§

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

1.8.0 · source§

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

source§

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

source§

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

source§

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

source§

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

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, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>where B: PartialEq<C> + ToOwned + ?Sized, C: ToOwned + ?Sized,

source§

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

source§

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

source§

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

source§

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

source§

impl<A, B> PartialEq<[B]> for [A]where A: PartialEq<B>,

source§

impl<A, B, const N: usize> PartialEq<&[B]> for [A; N]where A: PartialEq<B>,

source§

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

source§

impl<A, B, const N: usize> PartialEq<[A; N]> for &[B]where B: PartialEq<A>,

source§

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

source§

impl<A, B, const N: usize> PartialEq<[A; N]> for [B]where B: PartialEq<A>,

source§

impl<A, B, const N: usize> PartialEq<[B; N]> for [A; N]where A: PartialEq<B>,

source§

impl<A, B, const N: usize> PartialEq<[B]> for [A; N]where A: PartialEq<B>,

1.55.0 · source§

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

source§

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

§

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

1.4.0 · source§

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

1.29.0 · source§

impl<H> PartialEq<BuildHasherDefault<H>> for BuildHasherDefault<H>

source§

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

source§

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

1.26.0 · source§

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

source§

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

1.26.0 · source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<K, AK> PartialEq<ArchivedBTreeSet<AK>> for BTreeSet<K, Global>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, AK, S> PartialEq<ArchivedHashSet<AK>> for HashSet<K, S, Global>where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, S: BuildHasher,

source§

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

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<SecondaryMap<K, V>> for SecondaryMap<K, V>where K: EntityRef, V: Clone + PartialEq,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<K, V, AK, AV> PartialEq<ArchivedBTreeMap<AK, AV>> for BTreeMap<K, V, Global>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, RandomState>where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, AV: PartialEq<V>,

source§

impl<K, V, AK, AV> PartialEq<ArchivedHashMap<AK, AV>> for HashMap<K, V, RandomState, Global>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, AK, AV, S> PartialEq<HashMap<K, V, S, Global>> for ArchivedHashMap<AK, AV>where K: Hash + Eq + Borrow<AK>, AK: Hash + Eq, AV: PartialEq<V>, S: BuildHasher,

source§

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

§

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

source§

impl<K, V, UK, UV> PartialEq<Entry<UK, UV>> for Entry<K, V>where K: PartialEq<UK>, V: PartialEq<UV>,

source§

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

1.41.0 · source§

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

1.17.0 · source§

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

source§

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

source§

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

1.36.0 · source§

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

source§

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

source§

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

source§

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

source§

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

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

source§

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

1.71.0-nightly · source§

impl<T> PartialEq<OnceCell<T>> for wasmer_types::lib::std::cell::OnceCell<T>where T: PartialEq<T>,

source§

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

source§

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

1.21.0 · source§

impl<T> PartialEq<Discriminant<T>> for Discriminant<T>

1.20.0 · source§

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

1.25.0 · source§

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

source§

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

source§

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

source§

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

1.71.0-nightly · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.19.0 · source§

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

§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

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

source§

impl<T, TF, U, UF> PartialEq<ArchivedRc<U, UF>> for ArchivedRc<T, TF>where T: ArchivePointee + PartialEq<U> + ?Sized, U: ArchivePointee + ?Sized,

source§

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

source§

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

source§

impl<T, U> PartialEq<Option<Box<T, Global>>> 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>,

source§

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

source§

impl<T, U> PartialEq<[U]> for RawArchivedVec<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, Global>> 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, Global>> for ArchivedVec<T>where T: PartialEq<U>,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

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

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

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

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

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

source§

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

source§

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

source§

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

source§

impl<T, U, const N: usize> PartialEq<RawArchivedVec<T>> for [U; 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 LANES: usize> PartialEq<Mask<T, LANES>> for Mask<T, LANES>where T: MaskElement + PartialEq<T>, LaneCount<LANES>: SupportedLaneCount,

source§

impl<T, const LANES: usize> PartialEq<Simd<T, LANES>> for Simd<T, LANES>where LaneCount<LANES>: SupportedLaneCount, T: SimdElement + PartialEq<T>,

source§

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

source§

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

source§

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

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<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R>where Y: PartialEq<Y>, R: PartialEq<R>,