Trait wasmtime_environ::__core::cmp::PartialEq

1.0.0 · source ·
pub trait PartialEq<Rhs = Self>where
    Rhs: ?Sized,{
    // Required method
    fn eq(&self, other: &Rhs) -> bool;

    // Provided method
    fn ne(&self, other: &Rhs) -> bool { ... }
}
Expand description

Trait for 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<EntityIndex> for EntityIndex

source§

impl PartialEq<FlagValue> for FlagValue

source§

impl PartialEq<GlobalInit> for GlobalInit

source§

impl PartialEq<Trap> for Trap

source§

impl PartialEq<WasmType> for WasmType

source§

impl PartialEq<BlockType> for BlockType

source§

impl PartialEq<CanonicalOption> for CanonicalOption

source§

impl PartialEq<ComponentExternalKind> for ComponentExternalKind

source§

impl PartialEq<ComponentOuterAliasKind> for ComponentOuterAliasKind

source§

impl PartialEq<ComponentTypeRef> for ComponentTypeRef

source§

impl PartialEq<ComponentValType> for ComponentValType

source§

impl PartialEq<Encoding> for wasmtime_environ::wasmparser::Encoding

source§

impl PartialEq<ExternalKind> for ExternalKind

source§

impl PartialEq<FrameKind> for FrameKind

source§

impl PartialEq<HeapType> for HeapType

source§

impl PartialEq<InstantiationArgKind> for InstantiationArgKind

source§

impl PartialEq<OuterAliasKind> for OuterAliasKind

source§

impl PartialEq<PrimitiveValType> for PrimitiveValType

source§

impl PartialEq<TypeBounds> for TypeBounds

source§

impl PartialEq<ValType> for ValType

1.34.0 · source§

impl PartialEq<Infallible> for Infallible

1.28.0 · source§

impl PartialEq<Alignment> for wasmtime_environ::__core::fmt::Alignment

1.7.0 · source§

impl PartialEq<IpAddr> for IpAddr

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

1.55.0 · source§

impl PartialEq<IntErrorKind> for IntErrorKind

source§

impl PartialEq<Which> for Which

source§

impl PartialEq<SearchStep> for SearchStep

source§

impl PartialEq<Ordering> for wasmtime_environ::__core::sync::atomic::Ordering

source§

impl PartialEq<Ordering> for wasmtime_environ::__core::cmp::Ordering

source§

impl PartialEq<TryReserveErrorKind> for TryReserveErrorKind

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

1.12.0 · source§

impl PartialEq<RecvTimeoutError> for RecvTimeoutError

source§

impl PartialEq<TryRecvError> for TryRecvError

source§

impl PartialEq<DwarfFileType> for DwarfFileType

source§

impl PartialEq<Format> for Format

source§

impl PartialEq<SectionId> for gimli::common::SectionId

source§

impl PartialEq<RunTimeEndian> for RunTimeEndian

source§

impl PartialEq<Pointer> for Pointer

source§

impl PartialEq<Error> for gimli::read::Error

source§

impl PartialEq<ColumnType> for ColumnType

source§

impl PartialEq<Value> for Value

source§

impl PartialEq<ValueType> for ValueType

source§

impl PartialEq<CallFrameInstruction> for gimli::write::cfi::CallFrameInstruction

source§

impl PartialEq<ConvertError> for ConvertError

source§

impl PartialEq<Address> for Address

source§

impl PartialEq<Error> for gimli::write::Error

source§

impl PartialEq<Reference> for Reference

source§

impl PartialEq<LineString> for LineString

source§

impl PartialEq<Location> for gimli::write::loc::Location

source§

impl PartialEq<Range> for gimli::write::range::Range

source§

impl PartialEq<AttributeValue> for gimli::write::unit::AttributeValue

source§

impl PartialEq<Level> for log::Level

source§

impl PartialEq<Level> for LevelFilter

source§

impl PartialEq<LevelFilter> for log::Level

source§

impl PartialEq<LevelFilter> for LevelFilter

source§

impl PartialEq<AddressSize> for AddressSize

source§

impl PartialEq<Architecture> for object::common::Architecture

source§

impl PartialEq<BinaryFormat> for object::common::BinaryFormat

source§

impl PartialEq<ComdatKind> for ComdatKind

source§

impl PartialEq<FileFlags> for FileFlags

source§

impl PartialEq<RelocationEncoding> for RelocationEncoding

source§

impl PartialEq<RelocationKind> for RelocationKind

source§

impl PartialEq<SectionFlags> for SectionFlags

source§

impl PartialEq<SectionKind> for SectionKind

source§

impl PartialEq<SegmentFlags> for SegmentFlags

source§

impl PartialEq<SymbolKind> for SymbolKind

source§

impl PartialEq<SymbolScope> for SymbolScope

source§

impl PartialEq<Endianness> for object::endian::Endianness

source§

impl PartialEq<CompressionFormat> for CompressionFormat

source§

impl PartialEq<FileKind> for FileKind

source§

impl PartialEq<ObjectKind> for ObjectKind

source§

impl PartialEq<RelocationTarget> for RelocationTarget

source§

impl PartialEq<SymbolSection> for object::read::SymbolSection

source§

impl PartialEq<Mangling> for Mangling

source§

impl PartialEq<StandardSection> for StandardSection

source§

impl PartialEq<StandardSegment> for StandardSegment

source§

impl PartialEq<SymbolSection> for object::write::SymbolSection

source§

impl PartialEq<CDataModel> for CDataModel

source§

impl PartialEq<Size> for Size

source§

impl PartialEq<ParseError> for target_lexicon::parse_error::ParseError

source§

impl PartialEq<Aarch64Architecture> for Aarch64Architecture

source§

impl PartialEq<Architecture> for target_lexicon::targets::Architecture

source§

impl PartialEq<ArmArchitecture> for ArmArchitecture

source§

impl PartialEq<BinaryFormat> for target_lexicon::targets::BinaryFormat

source§

impl PartialEq<CustomVendor> for CustomVendor

source§

impl PartialEq<Environment> for Environment

source§

impl PartialEq<Mips32Architecture> for Mips32Architecture

source§

impl PartialEq<Mips64Architecture> for Mips64Architecture

source§

impl PartialEq<OperatingSystem> for OperatingSystem

source§

impl PartialEq<Riscv32Architecture> for Riscv32Architecture

source§

impl PartialEq<Riscv64Architecture> for Riscv64Architecture

source§

impl PartialEq<Vendor> for Vendor

source§

impl PartialEq<X86_32Architecture> for X86_32Architecture

source§

impl PartialEq<CallingConvention> for CallingConvention

source§

impl PartialEq<Endianness> for target_lexicon::triple::Endianness

source§

impl PartialEq<PointerWidth> for PointerWidth

source§

impl PartialEq<Origin> for Origin

source§

impl PartialEq<ParseError> for url::parser::ParseError

source§

impl PartialEq<SyntaxViolation> for SyntaxViolation

source§

impl PartialEq<bool> for bool

source§

impl PartialEq<char> for char

source§

impl PartialEq<f32> for f32

source§

impl PartialEq<f64> for f64

source§

impl PartialEq<i8> for i8

source§

impl PartialEq<i16> for i16

source§

impl PartialEq<i32> for i32

source§

impl PartialEq<i64> for i64

source§

impl PartialEq<i128> for 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<u8> for u8

source§

impl PartialEq<u16> for u16

source§

impl PartialEq<u32> for u32

source§

impl PartialEq<u64> for u64

source§

impl PartialEq<u128> for u128

source§

impl PartialEq<()> for ()

source§

impl PartialEq<usize> for usize

source§

impl PartialEq<AnyfuncIndex> for AnyfuncIndex

source§

impl PartialEq<DataIndex> for DataIndex

source§

impl PartialEq<DefinedFuncIndex> for DefinedFuncIndex

source§

impl PartialEq<DefinedGlobalIndex> for DefinedGlobalIndex

source§

impl PartialEq<DefinedMemoryIndex> for DefinedMemoryIndex

source§

impl PartialEq<DefinedTableIndex> for DefinedTableIndex

source§

impl PartialEq<ElemIndex> for ElemIndex

source§

impl PartialEq<FilePos> for FilePos

source§

impl PartialEq<FuncIndex> for FuncIndex

source§

impl PartialEq<Global> for Global

source§

impl PartialEq<GlobalIndex> for GlobalIndex

source§

impl PartialEq<InstructionAddressMap> for InstructionAddressMap

source§

impl PartialEq<Memory> for Memory

source§

impl PartialEq<MemoryIndex> for MemoryIndex

source§

impl PartialEq<OwnedMemoryIndex> for OwnedMemoryIndex

source§

impl PartialEq<SignatureIndex> for SignatureIndex

source§

impl PartialEq<Table> for Table

source§

impl PartialEq<TableIndex> for TableIndex

source§

impl PartialEq<Tag> for Tag

source§

impl PartialEq<TagIndex> for TagIndex

source§

impl PartialEq<TrapInformation> for TrapInformation

source§

impl PartialEq<TypeIndex> for TypeIndex

source§

impl PartialEq<WasmFuncType> for WasmFuncType

source§

impl PartialEq<FuncType> for FuncType

source§

impl PartialEq<GlobalType> for GlobalType

source§

impl PartialEq<Ieee32> for Ieee32

source§

impl PartialEq<Ieee64> for Ieee64

source§

impl PartialEq<MemoryType> for MemoryType

source§

impl PartialEq<PackedIndex> for PackedIndex

source§

impl PartialEq<RefType> for RefType

source§

impl PartialEq<TableType> for TableType

source§

impl PartialEq<V128> for V128

source§

impl PartialEq<KebabStr> for KebabStr

source§

impl PartialEq<KebabStr> for KebabString

source§

impl PartialEq<KebabString> for KebabStr

source§

impl PartialEq<KebabString> for KebabString

source§

impl PartialEq<TypeId> for wasmtime_environ::wasmparser::types::TypeId

source§

impl PartialEq<AllocError> for AllocError

1.28.0 · source§

impl PartialEq<Layout> for Layout

1.50.0 · source§

impl PartialEq<LayoutError> for LayoutError

source§

impl PartialEq<TypeId> for wasmtime_environ::__core::any::TypeId

1.27.0 · source§

impl PartialEq<CpuidResult> for CpuidResult

1.34.0 · source§

impl PartialEq<CharTryFromError> for CharTryFromError

1.9.0 · source§

impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error

1.20.0 · source§

impl PartialEq<ParseCharError> for ParseCharError

1.59.0 · source§

impl PartialEq<TryFromCharError> for TryFromCharError

source§

impl PartialEq<CStr> for CStr

1.69.0 · source§

impl PartialEq<FromBytesUntilNulError> for FromBytesUntilNulError

1.64.0 · source§

impl PartialEq<FromBytesWithNulError> for FromBytesWithNulError

source§

impl PartialEq<Error> for wasmtime_environ::__core::fmt::Error

1.33.0 · source§

impl PartialEq<PhantomPinned> for PhantomPinned

source§

impl PartialEq<Assume> for Assume

source§

impl PartialEq<AddrParseError> for AddrParseError

1.16.0 · source§

impl PartialEq<Ipv4Addr> for IpAddr

source§

impl PartialEq<Ipv4Addr> for Ipv4Addr

1.16.0 · source§

impl PartialEq<Ipv6Addr> for IpAddr

source§

impl PartialEq<Ipv6Addr> for Ipv6Addr

source§

impl PartialEq<SocketAddrV4> for SocketAddrV4

source§

impl PartialEq<SocketAddrV6> for SocketAddrV6

1.34.0 · source§

impl PartialEq<NonZeroI8> for NonZeroI8

1.34.0 · source§

impl PartialEq<NonZeroI16> for NonZeroI16

1.34.0 · source§

impl PartialEq<NonZeroI32> for NonZeroI32

1.34.0 · source§

impl PartialEq<NonZeroI64> for NonZeroI64

1.34.0 · source§

impl PartialEq<NonZeroI128> for 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

1.28.0 · source§

impl PartialEq<NonZeroU32> for NonZeroU32

1.28.0 · source§

impl PartialEq<NonZeroU64> for NonZeroU64

1.28.0 · source§

impl PartialEq<NonZeroU128> for NonZeroU128

1.28.0 · source§

impl PartialEq<NonZeroUsize> for NonZeroUsize

source§

impl PartialEq<ParseFloatError> for ParseFloatError

source§

impl PartialEq<ParseIntError> for ParseIntError

1.34.0 · source§

impl PartialEq<TryFromIntError> for TryFromIntError

source§

impl PartialEq<RangeFull> for RangeFull

source§

impl PartialEq<Alignment> for wasmtime_environ::__core::ptr::Alignment

source§

impl PartialEq<ParseBoolError> for ParseBoolError

source§

impl PartialEq<Utf8Error> for 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

1.66.0 · source§

impl PartialEq<TryFromFloatSecsError> for TryFromFloatSecsError

1.57.0 · source§

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

1.64.0 · source§

impl PartialEq<CString> for CString

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

source§

impl PartialEq<FromUtf8Error> for FromUtf8Error

source§

impl PartialEq<String> for String

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

1.63.0 · source§

impl PartialEq<InvalidHandleError> for InvalidHandleError

1.63.0 · source§

impl PartialEq<NullHandleError> for NullHandleError

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.5.0 · source§

impl PartialEq<WaitTimeoutResult> for WaitTimeoutResult

source§

impl PartialEq<RecvError> for RecvError

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

source§

impl PartialEq<DwoId> for DwoId

source§

impl PartialEq<Encoding> for gimli::common::Encoding

source§

impl PartialEq<LineEncoding> for LineEncoding

source§

impl PartialEq<Register> for Register

source§

impl PartialEq<DwAccess> for DwAccess

source§

impl PartialEq<DwAddr> for DwAddr

source§

impl PartialEq<DwAt> for DwAt

source§

impl PartialEq<DwAte> for DwAte

source§

impl PartialEq<DwCc> for DwCc

source§

impl PartialEq<DwCfa> for DwCfa

source§

impl PartialEq<DwChildren> for DwChildren

source§

impl PartialEq<DwDefaulted> for DwDefaulted

source§

impl PartialEq<DwDs> for DwDs

source§

impl PartialEq<DwDsc> for DwDsc

source§

impl PartialEq<DwEhPe> for DwEhPe

source§

impl PartialEq<DwEnd> for DwEnd

source§

impl PartialEq<DwForm> for DwForm

source§

impl PartialEq<DwId> for DwId

source§

impl PartialEq<DwIdx> for DwIdx

source§

impl PartialEq<DwInl> for DwInl

source§

impl PartialEq<DwLang> for DwLang

source§

impl PartialEq<DwLle> for DwLle

source§

impl PartialEq<DwLnct> for DwLnct

source§

impl PartialEq<DwLne> for DwLne

source§

impl PartialEq<DwLns> for DwLns

source§

impl PartialEq<DwMacro> for DwMacro

source§

impl PartialEq<DwOp> for DwOp

source§

impl PartialEq<DwOrd> for DwOrd

source§

impl PartialEq<DwRle> for DwRle

source§

impl PartialEq<DwSect> for DwSect

source§

impl PartialEq<DwSectV2> for DwSectV2

source§

impl PartialEq<DwTag> for DwTag

source§

impl PartialEq<DwUt> for DwUt

source§

impl PartialEq<DwVirtuality> for DwVirtuality

source§

impl PartialEq<DwVis> for DwVis

source§

impl PartialEq<BigEndian> for gimli::endianity::BigEndian

source§

impl PartialEq<LittleEndian> for gimli::endianity::LittleEndian

source§

impl PartialEq<Abbreviation> for Abbreviation

source§

impl PartialEq<AttributeSpecification> for AttributeSpecification

source§

impl PartialEq<ArangeEntry> for ArangeEntry

source§

impl PartialEq<Augmentation> for Augmentation

source§

impl PartialEq<BaseAddresses> for BaseAddresses

source§

impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses

source§

impl PartialEq<UnitIndexSection> for UnitIndexSection

source§

impl PartialEq<FileEntryFormat> for FileEntryFormat

source§

impl PartialEq<LineRow> for LineRow

source§

impl PartialEq<ReaderOffsetId> for ReaderOffsetId

source§

impl PartialEq<Range> for gimli::read::rnglists::Range

source§

impl PartialEq<StoreOnHeap> for StoreOnHeap

source§

impl PartialEq<CieId> for CieId

source§

impl PartialEq<CommonInformationEntry> for gimli::write::cfi::CommonInformationEntry

source§

impl PartialEq<FrameDescriptionEntry> for gimli::write::cfi::FrameDescriptionEntry

source§

impl PartialEq<FileId> for FileId

source§

impl PartialEq<DirectoryId> for DirectoryId

source§

impl PartialEq<FileInfo> for FileInfo

source§

impl PartialEq<LocationList> for LocationList

source§

impl PartialEq<LocationListId> for LocationListId

source§

impl PartialEq<Expression> for gimli::write::op::Expression

source§

impl PartialEq<RangeList> for RangeList

source§

impl PartialEq<RangeListId> for RangeListId

source§

impl PartialEq<LineStringId> for LineStringId

source§

impl PartialEq<StringId> for gimli::write::str::StringId

source§

impl PartialEq<Attribute> for gimli::write::unit::Attribute

source§

impl PartialEq<UnitEntryId> for UnitEntryId

source§

impl PartialEq<UnitId> for UnitId

source§

impl PartialEq<ParseLevelError> for ParseLevelError

source§

impl PartialEq<BigEndian> for object::endian::BigEndian

source§

impl PartialEq<LittleEndian> for object::endian::LittleEndian

source§

impl PartialEq<CompressedFileRange> for CompressedFileRange

source§

impl PartialEq<Error> for object::read::Error

source§

impl PartialEq<SectionIndex> for object::read::SectionIndex

source§

impl PartialEq<SymbolIndex> for object::read::SymbolIndex

source§

impl PartialEq<SectionIndex> for object::write::elf::writer::SectionIndex

source§

impl PartialEq<SymbolIndex> for object::write::elf::writer::SymbolIndex

source§

impl PartialEq<StringId> for object::write::string::StringId

source§

impl PartialEq<ComdatId> for ComdatId

source§

impl PartialEq<Error> for object::write::Error

source§

impl PartialEq<SectionId> for object::write::SectionId

source§

impl PartialEq<SymbolId> for SymbolId

source§

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

source§

impl PartialEq<Triple> for Triple

source§

impl PartialEq<OpaqueOrigin> for OpaqueOrigin

source§

impl PartialEq<Url> for Url

URLs compare like their serialization.

§

impl PartialEq<BidiClass> for BidiClass

§

impl PartialEq<Direction> for Direction

§

impl PartialEq<Error> for Error

§

impl PartialEq<IsNormalized> for IsNormalized

§

impl PartialEq<Level> for Level

§

impl PartialEq<ParagraphInfo> for ParagraphInfo

§

impl PartialEq<TryReserveError> for TryReserveError

§

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

Used for matching levels in conformance tests

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

source§

impl<'a> PartialEq<ComponentDefinedType<'a>> for ComponentDefinedType<'a>

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>

source§

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

source§

impl<'a> PartialEq<VariantCase<'a>> for VariantCase<'a>

1.10.0 · source§

impl<'a> PartialEq<Location<'a>> for wasmtime_environ::__core::panic::Location<'a>

source§

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

§

impl<'a> PartialEq<String> for Level

Used for matching levels in conformance tests

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> PartialEq<Metadata<'a>> for Metadata<'a>

source§

impl<'a> PartialEq<MetadataBuilder<'a>> for MetadataBuilder<'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<'bases, Section, R> PartialEq<CieOrFde<'bases, Section, R>> for CieOrFde<'bases, Section, R>where Section: PartialEq<Section> + UnwindSection<R>, R: PartialEq<R> + Reader,

source§

impl<'bases, Section, R> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R>where Section: PartialEq<Section> + UnwindSection<R>, R: PartialEq<R> + Reader, <R as Reader>::Offset: PartialEq<<R as Reader>::Offset>, <Section as UnwindSection<R>>::Offset: PartialEq<<Section as UnwindSection<R>>::Offset>,

source§

impl<'data> PartialEq<CodeView<'data>> for CodeView<'data>

source§

impl<'data> PartialEq<CompressedData<'data>> for CompressedData<'data>

source§

impl<'data> PartialEq<Export<'data>> for Export<'data>

source§

impl<'data> PartialEq<Import<'data>> for Import<'data>

source§

impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>

source§

impl<'data> PartialEq<SymbolMapName<'data>> for SymbolMapName<'data>

source§

impl<'data> PartialEq<Bytes<'data>> for Bytes<'data>

source§

impl<'input, Endian> PartialEq<EndianSlice<'input, Endian>> for EndianSlice<'input, Endian>where Endian: PartialEq<Endian> + Endianity,

§

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

§

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

§

impl<'text> PartialEq<BidiInfo<'text>> for BidiInfo<'text>

§

impl<'text> PartialEq<InitialInfo<'text>> for InitialInfo<'text>

§

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

§

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

§

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

§

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

§

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

§

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

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 DynMetadata<Dyn>where Dyn: ?Sized,

source§

impl<E> PartialEq<I16<E>> for I16<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<I32<E>> for I32<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<I64<E>> for I64<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U16<E>> for U16<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U32<E>> for U32<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U64<E>> for U64<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<I16Bytes<E>> for I16Bytes<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<I32Bytes<E>> for I32Bytes<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<I64Bytes<E>> for I64Bytes<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U16Bytes<E>> for U16Bytes<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U32Bytes<E>> for U32Bytes<E>where E: PartialEq<E> + Endian,

source§

impl<E> PartialEq<U64Bytes<E>> for U64Bytes<E>where E: PartialEq<E> + Endian,

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 wasmtime_environ::__core::ops::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, 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<PrimaryMap<K, V>> for PrimaryMap<K, V>where K: PartialEq<K> + EntityRef, V: PartialEq<V>,

source§

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

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

source§

impl<R> PartialEq<CallFrameInstruction<R>> for gimli::read::cfi::CallFrameInstruction<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<CfaRule<R>> for CfaRule<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<RegisterRule<R>> for RegisterRule<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<EvaluationResult<R>> for EvaluationResult<R>where R: PartialEq<R> + Reader, <R as Reader>::Offset: PartialEq<<R as Reader>::Offset>,

source§

impl<R> PartialEq<DebugFrame<R>> for DebugFrame<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<EhFrame<R>> for EhFrame<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<LocationListEntry<R>> for LocationListEntry<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<Expression<R>> for gimli::read::op::Expression<R>where R: PartialEq<R> + Reader,

source§

impl<R> PartialEq<Attribute<R>> for gimli::read::unit::Attribute<R>where R: PartialEq<R> + Reader,

source§

impl<R, A> PartialEq<UnwindContext<R, A>> for UnwindContext<R, A>where R: PartialEq<R> + Reader, A: PartialEq<A> + UnwindContextStorage<R>, <A as UnwindContextStorage<R>>::Stack: PartialEq<<A as UnwindContextStorage<R>>::Stack>,

source§

impl<R, Offset> PartialEq<LineInstruction<R, Offset>> for LineInstruction<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<Location<R, Offset>> for gimli::read::op::Location<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<Operation<R, Offset>> for Operation<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<AttributeValue<R, Offset>> for gimli::read::unit::AttributeValue<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<ArangeHeader<R, Offset>> for ArangeHeader<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<CommonInformationEntry<R, Offset>> for gimli::read::cfi::CommonInformationEntry<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<FrameDescriptionEntry<R, Offset>> for gimli::read::cfi::FrameDescriptionEntry<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<CompleteLineProgram<R, Offset>> for CompleteLineProgram<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<FileEntry<R, Offset>> for FileEntry<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<IncompleteLineProgram<R, Offset>> for IncompleteLineProgram<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<LineProgramHeader<R, Offset>> for LineProgramHeader<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<Piece<R, Offset>> for Piece<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, Offset> PartialEq<UnitHeader<R, Offset>> for UnitHeader<R, Offset>where R: PartialEq<R> + Reader<Offset = Offset>, Offset: PartialEq<Offset> + ReaderOffset,

source§

impl<R, S> PartialEq<UnwindTableRow<R, S>> for UnwindTableRow<R, S>where R: PartialEq<R> + Reader, S: PartialEq<S> + UnwindContextStorage<R>,

source§

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

source§

impl<Section> PartialEq<SymbolFlags<Section>> for SymbolFlags<Section>where Section: PartialEq<Section>,

1.17.0 · source§

impl<T> PartialEq<Bound<T>> for Bound<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<TrySendError<T>> for TrySendError<T>where T: PartialEq<T>,

source§

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

source§

impl<T> PartialEq<DieReference<T>> for DieReference<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<PackedOption<T>> for PackedOption<T>where T: PartialEq<T> + ReservedValue,

source§

impl<T> PartialEq<EntityList<T>> for EntityList<T>where T: PartialEq<T> + EntityRef + ReservedValue,

source§

impl<T> PartialEq<ListPool<T>> for ListPool<T>where T: EntityRef + ReservedValue,

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

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

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<Arc<T>> for Arc<T>where T: PartialEq<T> + ?Sized,

source§

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

source§

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

1.71.0-nightly · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.19.0 · source§

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

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<LinkedList<T, A>> for LinkedList<T, A>where T: PartialEq<T>, A: Allocator,

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, 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, 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, A1, A2> PartialEq<Vec<U, A2>> for Vec<T, A1>where A1: Allocator, A2: Allocator, T: PartialEq<U>,

1.17.0 · source§

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

source§

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

1.17.0 · source§

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

source§

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

1.48.0 · source§

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

1.46.0 · source§

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

1.46.0 · source§

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

source§

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

1.48.0 · source§

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

1.17.0 · source§

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

1.17.0 · source§

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

source§

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

1.17.0 · source§

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

1.17.0 · source§

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

source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for Vec<T, A>where A: Allocator, 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<Y, R> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R>where Y: PartialEq<Y>, R: PartialEq<R>,