wasmtime_environ::__core::prelude::rust_2015

Trait PartialEq

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

Trait for comparisons using the equality operator.

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

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

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

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

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

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

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

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

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

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

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

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

§Cross-crate considerations

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

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

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

§Derivable

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

§How can I implement PartialEq?

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

enum BookFormat {
    Paperback,
    Hardback,
    Ebook,
}

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

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

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

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

§How can I compare two different types?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

§Examples

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

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

Required Methods§

1.0.0 · Source

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

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

Provided Methods§

1.0.0 · Source

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

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

Implementors§

Source§

impl PartialEq for wasmtime_environ::component::dfg::CoreDef

Source§

impl PartialEq for Trampoline

Source§

impl PartialEq for wasmtime_environ::component::CoreDef

Source§

impl PartialEq for FixedEncoding

Source§

impl PartialEq for FlatType

Source§

impl PartialEq for InterfaceType

Source§

impl PartialEq for StringEncoding

Source§

impl PartialEq for Transcode

Source§

impl PartialEq for Collector

Source§

impl PartialEq for ConstOp

Source§

impl PartialEq for EngineOrModuleTypeIndex

Source§

impl PartialEq for EntityIndex

Source§

impl PartialEq for IndexType

Source§

impl PartialEq for wasmtime_environ::RelocationTarget

Source§

impl PartialEq for Trap

Source§

impl PartialEq for VMGcKind

Source§

impl PartialEq for WasmCompositeInnerType

Source§

impl PartialEq for WasmHeapBottomType

Source§

impl PartialEq for WasmHeapTopType

Source§

impl PartialEq for WasmHeapType

Source§

impl PartialEq for WasmStorageType

Source§

impl PartialEq for WasmValType

Source§

impl PartialEq for LibCall

Source§

impl PartialEq for AsciiChar

1.0.0 · Source§

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

1.34.0 · Source§

impl PartialEq for Infallible

1.28.0 · Source§

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

1.7.0 · Source§

impl PartialEq for IpAddr

Source§

impl PartialEq for Ipv6MulticastScope

1.0.0 · Source§

impl PartialEq for SocketAddr

1.0.0 · Source§

impl PartialEq for FpCategory

1.55.0 · Source§

impl PartialEq for IntErrorKind

Source§

impl PartialEq for SearchStep

1.0.0 · Source§

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

Source§

impl PartialEq for TryReserveErrorKind

1.65.0 · Source§

impl PartialEq for BacktraceStatus

1.0.0 · Source§

impl PartialEq for VarError

1.0.0 · Source§

impl PartialEq for std::io::SeekFrom

1.0.0 · Source§

impl PartialEq for std::io::error::ErrorKind

1.0.0 · Source§

impl PartialEq for Shutdown

Source§

impl PartialEq for BacktraceStyle

1.12.0 · Source§

impl PartialEq for RecvTimeoutError

1.0.0 · Source§

impl PartialEq for TryRecvError

Source§

impl PartialEq for _Unwind_Action

Source§

impl PartialEq for _Unwind_Reason_Code

Source§

impl PartialEq for cpp_demangle::ast::ArrayType

Source§

impl PartialEq for BaseUnresolvedName

Source§

impl PartialEq for BuiltinType

Source§

impl PartialEq for CallOffset

Source§

impl PartialEq for ClassEnumType

Source§

impl PartialEq for CtorDtorName

Source§

impl PartialEq for Decltype

Source§

impl PartialEq for DestructorName

Source§

impl PartialEq for cpp_demangle::ast::Encoding

Source§

impl PartialEq for ExceptionSpec

Source§

impl PartialEq for ExprPrimary

Source§

impl PartialEq for cpp_demangle::ast::Expression

Source§

impl PartialEq for GlobalCtorDtor

Source§

impl PartialEq for LocalName

Source§

impl PartialEq for MangledName

Source§

impl PartialEq for Name

Source§

impl PartialEq for NestedName

Source§

impl PartialEq for OperatorName

Source§

impl PartialEq for cpp_demangle::ast::Prefix

Source§

impl PartialEq for PrefixHandle

Source§

impl PartialEq for RefQualifier

Source§

impl PartialEq for SimpleOperatorName

Source§

impl PartialEq for SpecialName

Source§

impl PartialEq for StandardBuiltinType

Source§

impl PartialEq for Substitution

Source§

impl PartialEq for TemplateArg

Source§

impl PartialEq for TemplateTemplateParamHandle

Source§

impl PartialEq for Type

Source§

impl PartialEq for TypeHandle

Source§

impl PartialEq for UnqualifiedName

Source§

impl PartialEq for UnresolvedName

Source§

impl PartialEq for UnresolvedType

Source§

impl PartialEq for UnresolvedTypeHandle

Source§

impl PartialEq for UnscopedName

Source§

impl PartialEq for UnscopedTemplateNameHandle

Source§

impl PartialEq for VectorType

Source§

impl PartialEq for WellKnownComponent

Source§

impl PartialEq for DemangleNodeType

Source§

impl PartialEq for cpp_demangle::error::Error

Source§

impl PartialEq for embedded_io::ErrorKind

Source§

impl PartialEq for embedded_io::SeekFrom

Source§

impl PartialEq for DwarfFileType

Source§

impl PartialEq for Format

Source§

impl PartialEq for gimli::common::SectionId

Source§

impl PartialEq for gimli::common::Vendor

Source§

impl PartialEq for RunTimeEndian

Source§

impl PartialEq for AbbreviationsCacheStrategy

Source§

impl PartialEq for Pointer

Source§

impl PartialEq for gimli::read::Error

Source§

impl PartialEq for IndexSectionId

Source§

impl PartialEq for ColumnType

Source§

impl PartialEq for Value

Source§

impl PartialEq for ValueType

Source§

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

Source§

impl PartialEq for ConvertError

Source§

impl PartialEq for Address

Source§

impl PartialEq for gimli::write::Error

Source§

impl PartialEq for Reference

Source§

impl PartialEq for LineString

Source§

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

Source§

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

Source§

impl PartialEq for gimli::write::relocate::RelocationTarget

Source§

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

Source§

impl PartialEq for hashbrown::TryReserveError

Source§

impl PartialEq for Level

Source§

impl PartialEq for LevelFilter

Source§

impl PartialEq for AddressSize

Source§

impl PartialEq for object::common::Architecture

Source§

impl PartialEq for object::common::BinaryFormat

Source§

impl PartialEq for ComdatKind

Source§

impl PartialEq for FileFlags

Source§

impl PartialEq for RelocationEncoding

Source§

impl PartialEq for RelocationFlags

Source§

impl PartialEq for RelocationKind

Source§

impl PartialEq for SectionFlags

Source§

impl PartialEq for SectionKind

Source§

impl PartialEq for object::common::SegmentFlags

Source§

impl PartialEq for SubArchitecture

Source§

impl PartialEq for SymbolKind

Source§

impl PartialEq for SymbolScope

Source§

impl PartialEq for object::endian::Endianness

Source§

impl PartialEq for CompressionFormat

Source§

impl PartialEq for FileKind

Source§

impl PartialEq for ObjectKind

Source§

impl PartialEq for object::read::RelocationTarget

Source§

impl PartialEq for object::read::SymbolSection

Source§

impl PartialEq for Mangling

Source§

impl PartialEq for StandardSection

Source§

impl PartialEq for StandardSegment

Source§

impl PartialEq for object::write::SymbolSection

Source§

impl PartialEq for postcard::error::Error

Source§

impl PartialEq for Op

Source§

impl PartialEq for CDataModel

Source§

impl PartialEq for Size

Source§

impl PartialEq for ParseError

Source§

impl PartialEq for Aarch64Architecture

Source§

impl PartialEq for target_lexicon::targets::Architecture

Source§

impl PartialEq for ArmArchitecture

Source§

impl PartialEq for target_lexicon::targets::BinaryFormat

Source§

impl PartialEq for CustomVendor

Source§

impl PartialEq for Environment

Source§

impl PartialEq for Mips32Architecture

Source§

impl PartialEq for Mips64Architecture

Source§

impl PartialEq for OperatingSystem

Source§

impl PartialEq for Riscv32Architecture

Source§

impl PartialEq for Riscv64Architecture

Source§

impl PartialEq for target_lexicon::targets::Vendor

Source§

impl PartialEq for X86_32Architecture

Source§

impl PartialEq for CallingConvention

Source§

impl PartialEq for target_lexicon::triple::Endianness

Source§

impl PartialEq for PointerWidth

Source§

impl PartialEq for Color

Source§

impl PartialEq for ColorChoice

Source§

impl PartialEq for wasm_encoder::component::aliases::ComponentOuterAliasKind

Source§

impl PartialEq for wasm_encoder::component::canonicals::CanonicalOption

Source§

impl PartialEq for ComponentSectionId

Source§

impl PartialEq for ComponentExportKind

Source§

impl PartialEq for wasm_encoder::component::imports::ComponentTypeRef

Source§

impl PartialEq for wasm_encoder::component::imports::TypeBounds

Source§

impl PartialEq for ModuleArg

Source§

impl PartialEq for wasm_encoder::component::types::ComponentValType

Source§

impl PartialEq for wasm_encoder::component::types::PrimitiveValType

Source§

impl PartialEq for wasm_encoder::core::SectionId

Source§

impl PartialEq for ExportKind

Source§

impl PartialEq for EntityType

Source§

impl PartialEq for wasm_encoder::core::tags::TagKind

Source§

impl PartialEq for wasm_encoder::core::types::AbstractHeapType

Source§

impl PartialEq for wasm_encoder::core::types::HeapType

Source§

impl PartialEq for wasm_encoder::core::types::StorageType

Source§

impl PartialEq for wasm_encoder::core::types::ValType

Source§

impl PartialEq for wasmparser::parser::Encoding

Source§

impl PartialEq for wasmparser::readers::component::aliases::ComponentOuterAliasKind

Source§

impl PartialEq for CanonicalFunction

Source§

impl PartialEq for wasmparser::readers::component::canonicals::CanonicalOption

Source§

impl PartialEq for ComponentExternalKind

Source§

impl PartialEq for wasmparser::readers::component::imports::ComponentTypeRef

Source§

impl PartialEq for wasmparser::readers::component::imports::TypeBounds

Source§

impl PartialEq for InstantiationArgKind

Source§

impl PartialEq for wasmparser::readers::component::types::ComponentValType

Source§

impl PartialEq for OuterAliasKind

Source§

impl PartialEq for wasmparser::readers::component::types::PrimitiveValType

Source§

impl PartialEq for ExternalKind

Source§

impl PartialEq for TypeRef

Source§

impl PartialEq for ComdatSymbolKind

Source§

impl PartialEq for BlockType

Source§

impl PartialEq for Catch

Source§

impl PartialEq for FrameKind

Source§

impl PartialEq for Handle

Source§

impl PartialEq for wasmparser::readers::core::operators::Ordering

Source§

impl PartialEq for RelocAddendKind

Source§

impl PartialEq for RelocationType

Source§

impl PartialEq for wasmparser::readers::core::types::AbstractHeapType

Source§

impl PartialEq for CompositeInnerType

Source§

impl PartialEq for wasmparser::readers::core::types::HeapType

Source§

impl PartialEq for wasmparser::readers::core::types::StorageType

Source§

impl PartialEq for wasmparser::readers::core::types::TagKind

Source§

impl PartialEq for UnpackedIndex

Source§

impl PartialEq for wasmparser::readers::core::types::ValType

Source§

impl PartialEq for AnyTypeId

Source§

impl PartialEq for ComponentAnyTypeId

Source§

impl PartialEq for ComponentCoreTypeId

Source§

impl PartialEq for ComponentNameKind<'_>

Source§

impl PartialEq for DiscriminantSize

1.0.0 · Source§

impl PartialEq for bool

1.0.0 · Source§

impl PartialEq for char

1.0.0 · Source§

impl PartialEq for f16

1.0.0 · Source§

impl PartialEq for f32

1.0.0 · Source§

impl PartialEq for f64

1.0.0 · Source§

impl PartialEq for f128

1.0.0 · Source§

impl PartialEq for i8

1.0.0 · Source§

impl PartialEq for i16

1.0.0 · Source§

impl PartialEq for i32

1.0.0 · Source§

impl PartialEq for i64

1.0.0 · Source§

impl PartialEq for i128

1.0.0 · Source§

impl PartialEq for isize

Source§

impl PartialEq for !

1.0.0 · Source§

impl PartialEq for str

1.0.0 · Source§

impl PartialEq for u8

1.0.0 · Source§

impl PartialEq for u16

1.0.0 · Source§

impl PartialEq for u32

1.0.0 · Source§

impl PartialEq for u64

1.0.0 · Source§

impl PartialEq for u128

1.0.0 · Source§

impl PartialEq for ()

1.0.0 · Source§

impl PartialEq for usize

Source§

impl PartialEq for AdapterId

Source§

impl PartialEq for AdapterModuleId

Source§

impl PartialEq for CanonicalOptions

Source§

impl PartialEq for InstanceId

Source§

impl PartialEq for MemoryId

Source§

impl PartialEq for PostReturnId

Source§

impl PartialEq for ReallocId

Source§

impl PartialEq for Adapter

Source§

impl PartialEq for AdapterOptions

Source§

impl PartialEq for CanonicalAbiInfo

Source§

impl PartialEq for ComponentFuncIndex

Source§

impl PartialEq for ComponentIndex

Source§

impl PartialEq for ComponentInstanceIndex

Source§

impl PartialEq for ComponentTypeIndex

Source§

impl PartialEq for ComponentUpvarIndex

Source§

impl PartialEq for DefinedResourceIndex

Source§

impl PartialEq for ExportIndex

Source§

impl PartialEq for ImportIndex

Source§

impl PartialEq for LoweredIndex

Source§

impl PartialEq for ModuleIndex

Source§

impl PartialEq for ModuleInstanceIndex

Source§

impl PartialEq for ModuleUpvarIndex

Source§

impl PartialEq for RecordField

Source§

impl PartialEq for ResourceIndex

Source§

impl PartialEq for RuntimeComponentInstanceIndex

Source§

impl PartialEq for RuntimeImportIndex

Source§

impl PartialEq for RuntimeInstanceIndex

Source§

impl PartialEq for RuntimeMemoryIndex

Source§

impl PartialEq for RuntimePostReturnIndex

Source§

impl PartialEq for RuntimeReallocIndex

Source§

impl PartialEq for StaticComponentIndex

Source§

impl PartialEq for TrampolineIndex

Source§

impl PartialEq for TypeComponentIndex

Source§

impl PartialEq for TypeComponentInstanceIndex

Source§

impl PartialEq for TypeEnum

Source§

impl PartialEq for TypeEnumIndex

Source§

impl PartialEq for TypeFlags

Source§

impl PartialEq for TypeFlagsIndex

Source§

impl PartialEq for TypeFunc

Source§

impl PartialEq for TypeFuncIndex

Source§

impl PartialEq for TypeList

Source§

impl PartialEq for TypeListIndex

Source§

impl PartialEq for TypeModuleIndex

Source§

impl PartialEq for TypeOption

Source§

impl PartialEq for TypeOptionIndex

Source§

impl PartialEq for TypeRecord

Source§

impl PartialEq for TypeRecordIndex

Source§

impl PartialEq for TypeResourceTable

Source§

impl PartialEq for TypeResourceTableIndex

Source§

impl PartialEq for TypeResult

Source§

impl PartialEq for TypeResultIndex

Source§

impl PartialEq for TypeTuple

Source§

impl PartialEq for TypeTupleIndex

Source§

impl PartialEq for TypeVariant

Source§

impl PartialEq for TypeVariantIndex

Source§

impl PartialEq for VariantInfo

1.0.0 · Source§

impl PartialEq for String

Source§

impl PartialEq for BuiltinFunctionIndex

Source§

impl PartialEq for wasmtime_environ::ConstExpr

Source§

impl PartialEq for DataIndex

Source§

impl PartialEq for DefinedFuncIndex

Source§

impl PartialEq for DefinedGlobalIndex

Source§

impl PartialEq for DefinedMemoryIndex

Source§

impl PartialEq for DefinedTableIndex

Source§

impl PartialEq for ElemIndex

Source§

impl PartialEq for EngineInternedRecGroupIndex

Source§

impl PartialEq for FilePos

Source§

impl PartialEq for FuncIndex

Source§

impl PartialEq for FuncRefIndex

Source§

impl PartialEq for Global

Source§

impl PartialEq for GlobalIndex

Source§

impl PartialEq for InstructionAddressMap

Source§

impl PartialEq for Limits

Source§

impl PartialEq for Memory

Source§

impl PartialEq for MemoryIndex

Source§

impl PartialEq for ModuleInternedRecGroupIndex

Source§

impl PartialEq for ModuleInternedTypeIndex

Source§

impl PartialEq for OwnedMemoryIndex

Source§

impl PartialEq for RecGroupRelativeTypeIndex

Source§

impl PartialEq for StaticModuleIndex

Source§

impl PartialEq for Table

Source§

impl PartialEq for TableIndex

Source§

impl PartialEq for Tag

Source§

impl PartialEq for TagIndex

Source§

impl PartialEq for TrapInformation

Source§

impl PartialEq for TypeIndex

Source§

impl PartialEq for VMSharedTypeIndex

Source§

impl PartialEq for WasmArrayType

Source§

impl PartialEq for WasmCompositeType

Source§

impl PartialEq for WasmFieldType

Source§

impl PartialEq for WasmFuncType

Source§

impl PartialEq for WasmRecGroup

Source§

impl PartialEq for WasmRefType

Source§

impl PartialEq for WasmStructType

Source§

impl PartialEq for WasmSubType

Source§

impl PartialEq for AllocError

1.28.0 · Source§

impl PartialEq for Layout

1.50.0 · Source§

impl PartialEq for LayoutError

1.0.0 · Source§

impl PartialEq for TypeId

1.27.0 · Source§

impl PartialEq for CpuidResult

1.34.0 · Source§

impl PartialEq for CharTryFromError

1.9.0 · Source§

impl PartialEq for DecodeUtf16Error

1.20.0 · Source§

impl PartialEq for ParseCharError

1.59.0 · Source§

impl PartialEq for TryFromCharError

1.64.0 · Source§

impl PartialEq for CStr

1.69.0 · Source§

impl PartialEq for FromBytesUntilNulError

1.64.0 · Source§

impl PartialEq for FromBytesWithNulError

1.0.0 · Source§

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

1.33.0 · Source§

impl PartialEq for PhantomPinned

Source§

impl PartialEq for Assume

1.0.0 · Source§

impl PartialEq for AddrParseError

1.0.0 · Source§

impl PartialEq for Ipv4Addr

1.0.0 · Source§

impl PartialEq for Ipv6Addr

1.0.0 · Source§

impl PartialEq for SocketAddrV4

1.0.0 · Source§

impl PartialEq for SocketAddrV6

1.0.0 · Source§

impl PartialEq for ParseFloatError

1.0.0 · Source§

impl PartialEq for ParseIntError

1.34.0 · Source§

impl PartialEq for TryFromIntError

Source§

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

1.0.0 · Source§

impl PartialEq for RangeFull

1.0.0 · Source§

impl PartialEq for ParseBoolError

1.0.0 · Source§

impl PartialEq for Utf8Error

1.36.0 · Source§

impl PartialEq for RawWaker

1.36.0 · Source§

impl PartialEq for RawWakerVTable

1.3.0 · Source§

impl PartialEq for Duration

1.66.0 · Source§

impl PartialEq for TryFromFloatSecsError

Source§

impl PartialEq for UnorderedKeyError

1.57.0 · Source§

impl PartialEq for alloc::collections::TryReserveError

1.64.0 · Source§

impl PartialEq for CString

1.64.0 · Source§

impl PartialEq for FromVecWithNulError

1.64.0 · Source§

impl PartialEq for IntoStringError

1.64.0 · Source§

impl PartialEq for NulError

1.0.0 · Source§

impl PartialEq for FromUtf8Error

1.0.0 · Source§

impl PartialEq for OsStr

1.0.0 · Source§

impl PartialEq for OsString

1.1.0 · Source§

impl PartialEq for FileType

1.0.0 · Source§

impl PartialEq for Permissions

Source§

impl PartialEq for UCred

1.0.0 · Source§

impl PartialEq for Path

1.0.0 · Source§

impl PartialEq for PathBuf

1.7.0 · Source§

impl PartialEq for StripPrefixError

1.61.0 · Source§

impl PartialEq for ExitCode

1.0.0 · Source§

impl PartialEq for ExitStatus

Source§

impl PartialEq for ExitStatusError

1.0.0 · Source§

impl PartialEq for Output

1.5.0 · Source§

impl PartialEq for WaitTimeoutResult

1.0.0 · Source§

impl PartialEq for RecvError

1.26.0 · Source§

impl PartialEq for AccessError

1.19.0 · Source§

impl PartialEq for ThreadId

1.8.0 · Source§

impl PartialEq for Instant

1.8.0 · Source§

impl PartialEq for SystemTime

Source§

impl PartialEq for BareFunctionType

Source§

impl PartialEq for CloneSuffix

Source§

impl PartialEq for CloneTypeIdentifier

Source§

impl PartialEq for ClosureTypeName

Source§

impl PartialEq for CvQualifiers

Source§

impl PartialEq for DataMemberPrefix

Source§

impl PartialEq for Discriminator

Source§

impl PartialEq for FunctionParam

Source§

impl PartialEq for FunctionType

Source§

impl PartialEq for Identifier

Source§

impl PartialEq for Initializer

Source§

impl PartialEq for LambdaSig

Source§

impl PartialEq for MemberName

Source§

impl PartialEq for NonSubstitution

Source§

impl PartialEq for NvOffset

Source§

impl PartialEq for PointerToMemberType

Source§

impl PartialEq for QualifiedBuiltin

Source§

impl PartialEq for ResourceName

Source§

impl PartialEq for SeqId

Source§

impl PartialEq for SimpleId

Source§

impl PartialEq for SourceName

Source§

impl PartialEq for SubobjectExpr

Source§

impl PartialEq for TaggedName

Source§

impl PartialEq for TemplateArgs

Source§

impl PartialEq for TemplateParam

Source§

impl PartialEq for TemplateTemplateParam

Source§

impl PartialEq for UnnamedTypeName

Source§

impl PartialEq for UnresolvedQualifierLevel

Source§

impl PartialEq for UnscopedTemplateName

Source§

impl PartialEq for VOffset

Source§

impl PartialEq for CompoundBitSet

Source§

impl PartialEq for DebugTypeSignature

Source§

impl PartialEq for DwoId

Source§

impl PartialEq for gimli::common::Encoding

Source§

impl PartialEq for LineEncoding

Source§

impl PartialEq for Register

Source§

impl PartialEq for DwAccess

Source§

impl PartialEq for DwAddr

Source§

impl PartialEq for DwAt

Source§

impl PartialEq for DwAte

Source§

impl PartialEq for DwCc

Source§

impl PartialEq for DwCfa

Source§

impl PartialEq for DwChildren

Source§

impl PartialEq for DwDefaulted

Source§

impl PartialEq for DwDs

Source§

impl PartialEq for DwDsc

Source§

impl PartialEq for DwEhPe

Source§

impl PartialEq for DwEnd

Source§

impl PartialEq for DwForm

Source§

impl PartialEq for DwId

Source§

impl PartialEq for DwIdx

Source§

impl PartialEq for DwInl

Source§

impl PartialEq for DwLang

Source§

impl PartialEq for DwLle

Source§

impl PartialEq for DwLnct

Source§

impl PartialEq for DwLne

Source§

impl PartialEq for DwLns

Source§

impl PartialEq for DwMacro

Source§

impl PartialEq for DwOp

Source§

impl PartialEq for DwOrd

Source§

impl PartialEq for DwRle

Source§

impl PartialEq for DwSect

Source§

impl PartialEq for DwSectV2

Source§

impl PartialEq for DwTag

Source§

impl PartialEq for DwUt

Source§

impl PartialEq for DwVirtuality

Source§

impl PartialEq for DwVis

Source§

impl PartialEq for gimli::endianity::BigEndian

Source§

impl PartialEq for gimli::endianity::LittleEndian

Source§

impl PartialEq for Abbreviation

Source§

impl PartialEq for AttributeSpecification

Source§

impl PartialEq for ArangeEntry

Source§

impl PartialEq for Augmentation

Source§

impl PartialEq for BaseAddresses

Source§

impl PartialEq for SectionBaseAddresses

Source§

impl PartialEq for UnitIndexSection

Source§

impl PartialEq for FileEntryFormat

Source§

impl PartialEq for LineRow

Source§

impl PartialEq for ReaderOffsetId

Source§

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

Source§

impl PartialEq for StoreOnHeap

Source§

impl PartialEq for CieId

Source§

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

Source§

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

Source§

impl PartialEq for FileId

Source§

impl PartialEq for DirectoryId

Source§

impl PartialEq for FileInfo

Source§

impl PartialEq for LocationList

Source§

impl PartialEq for LocationListId

Source§

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

Source§

impl PartialEq for RangeList

Source§

impl PartialEq for RangeListId

Source§

impl PartialEq for Relocation

Source§

impl PartialEq for LineStringId

Source§

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

Source§

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

Source§

impl PartialEq for UnitEntryId

Source§

impl PartialEq for UnitId

Source§

impl PartialEq for indexmap::TryReserveError

Source§

impl PartialEq for ParseLevelError

Source§

impl PartialEq for object::endian::BigEndian

Source§

impl PartialEq for object::endian::LittleEndian

Source§

impl PartialEq for CompressedFileRange

Source§

impl PartialEq for object::read::Error

Source§

impl PartialEq for object::read::SectionIndex

Source§

impl PartialEq for object::read::SymbolIndex

Source§

impl PartialEq for Class

Source§

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

Source§

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

Source§

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

Source§

impl PartialEq for ComdatId

Source§

impl PartialEq for object::write::Error

Source§

impl PartialEq for object::write::SectionId

Source§

impl PartialEq for SymbolId

Source§

impl PartialEq for BuildMetadata

Source§

impl PartialEq for Comparator

Source§

impl PartialEq for Prerelease

Source§

impl PartialEq for Version

Source§

impl PartialEq for VersionReq

Source§

impl PartialEq for IgnoredAny

Source§

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

Source§

impl PartialEq for DefaultToHost

Source§

impl PartialEq for DefaultToUnknown

Source§

impl PartialEq for Triple

Source§

impl PartialEq for ColorSpec

Source§

impl PartialEq for ParseColorError

Source§

impl PartialEq for Function

Source§

impl PartialEq for wasm_encoder::core::globals::GlobalType

Source§

impl PartialEq for wasm_encoder::core::memories::MemoryType

Source§

impl PartialEq for wasm_encoder::core::tables::TableType

Source§

impl PartialEq for wasm_encoder::core::tags::TagType

Source§

impl PartialEq for wasm_encoder::core::types::ArrayType

Source§

impl PartialEq for wasm_encoder::core::types::ContType

Source§

impl PartialEq for wasm_encoder::core::types::FieldType

Source§

impl PartialEq for wasm_encoder::core::types::FuncType

Source§

impl PartialEq for wasm_encoder::core::types::RefType

Source§

impl PartialEq for wasm_encoder::core::types::StructType

Source§

impl PartialEq for WasmFeatures

Source§

impl PartialEq for wasmparser::readers::core::init::ConstExpr<'_>

Source§

impl PartialEq for wasmparser::readers::core::linking::SegmentFlags

Source§

impl PartialEq for wasmparser::readers::core::linking::SymbolFlags

Source§

impl PartialEq for BrTable<'_>

Source§

impl PartialEq for Ieee32

Source§

impl PartialEq for Ieee64

Source§

impl PartialEq for MemArg

Source§

impl PartialEq for ResumeTable

Source§

impl PartialEq for TryTable

Source§

impl PartialEq for V128

Source§

impl PartialEq for RelocationEntry

Source§

impl PartialEq for wasmparser::readers::core::types::ArrayType

Source§

impl PartialEq for CompositeType

Source§

impl PartialEq for wasmparser::readers::core::types::ContType

Source§

impl PartialEq for wasmparser::readers::core::types::FieldType

Source§

impl PartialEq for wasmparser::readers::core::types::FuncType

Source§

impl PartialEq for wasmparser::readers::core::types::GlobalType

Source§

impl PartialEq for wasmparser::readers::core::types::MemoryType

Source§

impl PartialEq for PackedIndex

Source§

impl PartialEq for RecGroup

Source§

impl PartialEq for wasmparser::readers::core::types::RefType

Source§

impl PartialEq for wasmparser::readers::core::types::StructType

Source§

impl PartialEq for SubType

Source§

impl PartialEq for wasmparser::readers::core::types::TableType

Source§

impl PartialEq for wasmparser::readers::core::types::TagType

Source§

impl PartialEq for AliasableResourceId

Source§

impl PartialEq for ComponentCoreInstanceTypeId

Source§

impl PartialEq for ComponentCoreModuleTypeId

Source§

impl PartialEq for ComponentDefinedTypeId

Source§

impl PartialEq for ComponentFuncTypeId

Source§

impl PartialEq for ComponentInstanceTypeId

Source§

impl PartialEq for ComponentTypeId

Source§

impl PartialEq for ComponentValueTypeId

Source§

impl PartialEq for ResourceId

Source§

impl PartialEq for ComponentName

Source§

impl PartialEq for KebabStr

Source§

impl PartialEq for KebabString

Source§

impl PartialEq for ValidatorId

Source§

impl PartialEq for CoreTypeId

Source§

impl PartialEq for RecGroupId

1.29.0 · Source§

impl PartialEq<&str> for OsString

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv4Addr

1.16.0 · Source§

impl PartialEq<IpAddr> for Ipv6Addr

Source§

impl PartialEq<Level> for LevelFilter

Source§

impl PartialEq<LevelFilter> for Level

1.0.0 · Source§

impl PartialEq<str> for OsStr

1.0.0 · Source§

impl PartialEq<str> for OsString

1.16.0 · Source§

impl PartialEq<Ipv4Addr> for IpAddr

1.16.0 · Source§

impl PartialEq<Ipv6Addr> for IpAddr

1.0.0 · Source§

impl PartialEq<OsStr> for str

1.8.0 · Source§

impl PartialEq<OsStr> for Path

1.8.0 · Source§

impl PartialEq<OsStr> for PathBuf

1.0.0 · Source§

impl PartialEq<OsString> for str

1.8.0 · Source§

impl PartialEq<OsString> for Path

1.8.0 · Source§

impl PartialEq<OsString> for PathBuf

1.8.0 · Source§

impl PartialEq<Path> for OsStr

1.8.0 · Source§

impl PartialEq<Path> for OsString

1.6.0 · Source§

impl PartialEq<Path> for PathBuf

1.8.0 · Source§

impl PartialEq<PathBuf> for OsStr

1.8.0 · Source§

impl PartialEq<PathBuf> for OsString

1.6.0 · Source§

impl PartialEq<PathBuf> for Path

Source§

impl PartialEq<KebabStr> for KebabString

Source§

impl PartialEq<KebabString> for KebabStr

Source§

impl<'a> PartialEq for FlagValue<'a>

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

Source§

impl<'a> PartialEq for ComponentAlias<'a>

Source§

impl<'a> PartialEq for ComponentInstance<'a>

Source§

impl<'a> PartialEq for Instance<'a>

Source§

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

Source§

impl<'a> PartialEq for ComponentFuncResult<'a>

Source§

impl<'a> PartialEq for ComponentType<'a>

Source§

impl<'a> PartialEq for ComponentTypeDeclaration<'a>

Source§

impl<'a> PartialEq for CoreType<'a>

Source§

impl<'a> PartialEq for InstanceTypeDeclaration<'a>

Source§

impl<'a> PartialEq for ModuleTypeDeclaration<'a>

Source§

impl<'a> PartialEq for Operator<'a>

1.10.0 · Source§

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

1.79.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

Source§

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

Source§

impl<'a> PartialEq for ComponentExport<'a>

Source§

impl<'a> PartialEq for ComponentExportName<'a>

Source§

impl<'a> PartialEq for ComponentImport<'a>

Source§

impl<'a> PartialEq for ComponentImportName<'a>

Source§

impl<'a> PartialEq for ComponentInstantiationArg<'a>

Source§

impl<'a> PartialEq for InstantiationArg<'a>

Source§

impl<'a> PartialEq for ComponentFuncType<'a>

Source§

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

Source§

impl<'a> PartialEq for wasmparser::readers::core::exports::Export<'a>

Source§

impl<'a> PartialEq for wasmparser::readers::core::imports::Import<'a>

Source§

impl<'a> PartialEq for DependencyName<'a>

Source§

impl<'a> PartialEq for HashName<'a>

Source§

impl<'a> PartialEq for InterfaceName<'a>

Source§

impl<'a> PartialEq for ResourceFunc<'a>

Source§

impl<'a> PartialEq for UrlName<'a>

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.29.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.6.0 · Source§

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

1.8.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.8.0 · Source§

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

1.0.0 · Source§

impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
where B: PartialEq<C> + ToOwned + ?Sized, C: ToOwned + ?Sized,

Source§

impl<'bases, Section, R> PartialEq for CieOrFde<'bases, Section, R>
where Section: PartialEq + UnwindSection<R>, R: PartialEq + Reader,

Source§

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

Source§

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

Source§

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

Source§

impl<'data> PartialEq for object::read::Export<'data>

Source§

impl<'data> PartialEq for object::read::Import<'data>

Source§

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

Source§

impl<'data> PartialEq for ObjectMapFile<'data>

Source§

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

Source§

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

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

1.55.0 · Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

1.4.0 · Source§

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

1.29.0 · Source§

impl<H> PartialEq for BuildHasherDefault<H>

1.0.0 · Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::legacy::Range<Idx>
where Idx: PartialEq,

1.0.0 · Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::legacy::RangeFrom<Idx>
where Idx: PartialEq,

1.26.0 · Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::legacy::RangeInclusive<Idx>
where Idx: PartialEq,

Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::Range<Idx>
where Idx: PartialEq,

Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::RangeFrom<Idx>
where Idx: PartialEq,

Source§

impl<Idx> PartialEq for wasmtime_environ::__core::range::RangeInclusive<Idx>
where Idx: PartialEq,

1.0.0 · Source§

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

1.26.0 · Source§

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

Source§

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

Source§

impl<K, V> PartialEq for wasmtime_environ::prelude::IndexMap<K, V>
where K: PartialEq + Hash + Ord, V: PartialEq,

Source§

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

Source§

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

Source§

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

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

Source§

impl<Offset> PartialEq for UnitType<Offset>
where Offset: PartialEq + ReaderOffset,

1.41.0 · Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<Section, Symbol> PartialEq for object::common::SymbolFlags<Section, Symbol>
where Section: PartialEq, Symbol: PartialEq,

1.0.0 · Source§

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

1.17.0 · Source§

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

1.36.0 · Source§

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

Source§

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

1.0.0 · Source§

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

Source§

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

Source§

impl<T> PartialEq for gimli::read::cfi::CallFrameInstruction<T>

Source§

impl<T> PartialEq for CfaRule<T>

Source§

impl<T> PartialEq for RegisterRule<T>

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

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

Source§

impl<T> PartialEq for PackedOption<T>

Source§

impl<T> PartialEq for wasmtime_environ::prelude::IndexSet<T>
where T: PartialEq + Hash + Ord,

Source§

impl<T> PartialEq for EntityList<T>

Source§

impl<T> PartialEq for ListPool<T>

1.0.0 · Source§

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

1.70.0 · Source§

impl<T> PartialEq for wasmtime_environ::__core::cell::OnceCell<T>
where T: PartialEq,

1.0.0 · Source§

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

1.19.0 · Source§

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

1.0.0 · Source§

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

1.21.0 · Source§

impl<T> PartialEq for Discriminant<T>

1.20.0 · Source§

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

1.28.0 · Source§

impl<T> PartialEq for NonZero<T>

1.74.0 · Source§

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

1.0.0 · Source§

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

1.25.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.70.0 · Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T> PartialEq for UnwindExpression<T>

Source§

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

Source§

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

Source§

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

Source§

impl<T> PartialEq for Set<T>
where T: Eq + Hash,

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

Source§

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

1.0.0 · Source§

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

Source§

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

1.0.0 · Source§

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

Source§

impl<T, S> PartialEq for UnwindContext<T, S>

Source§

impl<T, S> PartialEq for UnwindTableRow<T, S>

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.48.0 · Source§

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

1.46.0 · Source§

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

1.46.0 · Source§

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

1.0.0 · Source§

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

1.48.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

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

Source§

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

Source§

impl<T: PartialEq> PartialEq for ExportItem<T>

Source§

impl<T: PartialEq> PartialEq for wasmtime_environ::component::dfg::CoreExport<T>

Source§

impl<T: PartialEq> PartialEq for wasmtime_environ::component::CoreExport<T>

Source§

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