pub trait Eq: PartialEq { }
Expand description
Trait for comparisons corresponding to equivalence relations.
The primary difference to PartialEq
is the additional requirement for reflexivity. A type
that implements PartialEq
guarantees that for all a
, b
and c
:
- symmetric:
a == b
impliesb == a
anda != b
implies!(a == b)
- transitive:
a == b
andb == c
impliesa == c
Eq
, which builds on top of PartialEq
also implies:
- reflexive:
a == a
This property cannot be checked by the compiler, and therefore Eq
is a trait without methods.
Violating this property 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.
Floating point types such as f32
and f64
implement only PartialEq
but not Eq
because NaN
!= NaN
.
§Derivable
This trait can be used with #[derive]
. When derive
d, because Eq
has no extra methods, it
is only informing the compiler that this is an equivalence relation rather than a partial
equivalence relation. Note that the derive
strategy requires all fields are Eq
, which isn’t
always desired.
§How can I implement Eq
?
If you cannot use the derive
strategy, specify that your type implements Eq
, which has no
extra methods:
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
}
}
impl Eq for Book {}
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Eq for wasmtime_environ::component::dfg::CoreDef
impl Eq for Trampoline
impl Eq for wasmtime_environ::component::CoreDef
impl Eq for FixedEncoding
impl Eq for FlatType
impl Eq for InterfaceType
impl Eq for StringEncoding
impl Eq for Transcode
impl Eq for ConstOp
impl Eq for EngineOrModuleTypeIndex
impl Eq for EntityIndex
impl Eq for wasmtime_environ::RelocationTarget
impl Eq for Trap
impl Eq for VMGcKind
impl Eq for WasmCompositeType
impl Eq for WasmHeapTopType
impl Eq for WasmHeapType
impl Eq for WasmStorageType
impl Eq for WasmValType
impl Eq for LibCall
impl Eq for wasmtime_environ::wasmparser::AbstractHeapType
impl Eq for BlockType
impl Eq for wasmtime_environ::wasmparser::CanonicalOption
impl Eq for Catch
impl Eq for ComdatSymbolKind
impl Eq for ComponentExternalKind
impl Eq for wasmtime_environ::wasmparser::ComponentOuterAliasKind
impl Eq for wasmtime_environ::wasmparser::ComponentTypeRef
impl Eq for wasmtime_environ::wasmparser::ComponentValType
impl Eq for CompositeInnerType
impl Eq for wasmtime_environ::wasmparser::Encoding
impl Eq for ExternalKind
impl Eq for FrameKind
impl Eq for wasmtime_environ::wasmparser::HeapType
impl Eq for InstantiationArgKind
impl Eq for wasmtime_environ::wasmparser::Ordering
impl Eq for OuterAliasKind
impl Eq for wasmtime_environ::wasmparser::PrimitiveValType
impl Eq for RelocAddendKind
impl Eq for RelocationType
impl Eq for wasmtime_environ::wasmparser::StorageType
impl Eq for wasmtime_environ::wasmparser::TypeBounds
impl Eq for UnpackedIndex
impl Eq for wasmtime_environ::wasmparser::ValType
impl Eq for ComponentNameKind<'_>
impl Eq for AnyTypeId
impl Eq for ComponentAnyTypeId
impl Eq for ComponentCoreTypeId
impl Eq for AsciiChar
impl Eq for wasmtime_environ::__core::cmp::Ordering
impl Eq for Infallible
impl Eq for wasmtime_environ::__core::fmt::Alignment
impl Eq for IpAddr
impl Eq for Ipv6MulticastScope
impl Eq for SocketAddr
impl Eq for FpCategory
impl Eq for IntErrorKind
impl Eq for SearchStep
impl Eq for wasmtime_environ::__core::sync::atomic::Ordering
impl Eq for TryReserveErrorKind
impl Eq for BacktraceStatus
impl Eq for VarError
impl Eq for std::io::SeekFrom
impl Eq for std::io::error::ErrorKind
impl Eq for Shutdown
impl Eq for BacktraceStyle
impl Eq for RecvTimeoutError
impl Eq for TryRecvError
impl Eq for cpp_demangle::ast::ArrayType
impl Eq for BaseUnresolvedName
impl Eq for BuiltinType
impl Eq for CallOffset
impl Eq for ClassEnumType
impl Eq for CtorDtorName
impl Eq for Decltype
impl Eq for DestructorName
impl Eq for cpp_demangle::ast::Encoding
impl Eq for ExceptionSpec
impl Eq for ExprPrimary
impl Eq for cpp_demangle::ast::Expression
impl Eq for GlobalCtorDtor
impl Eq for LocalName
impl Eq for MangledName
impl Eq for Name
impl Eq for NestedName
impl Eq for OperatorName
impl Eq for cpp_demangle::ast::Prefix
impl Eq for PrefixHandle
impl Eq for RefQualifier
impl Eq for SimpleOperatorName
impl Eq for SpecialName
impl Eq for StandardBuiltinType
impl Eq for Substitution
impl Eq for TemplateArg
impl Eq for TemplateTemplateParamHandle
impl Eq for Type
impl Eq for TypeHandle
impl Eq for UnqualifiedName
impl Eq for UnresolvedName
impl Eq for UnresolvedType
impl Eq for UnresolvedTypeHandle
impl Eq for UnscopedName
impl Eq for UnscopedTemplateNameHandle
impl Eq for VectorType
impl Eq for WellKnownComponent
impl Eq for DemangleNodeType
impl Eq for cpp_demangle::error::Error
impl Eq for embedded_io::ErrorKind
impl Eq for embedded_io::SeekFrom
impl Eq for DwarfFileType
impl Eq for Format
impl Eq for gimli::common::SectionId
impl Eq for gimli::common::Vendor
impl Eq for RunTimeEndian
impl Eq for AbbreviationsCacheStrategy
impl Eq for Pointer
impl Eq for gimli::read::Error
impl Eq for ColumnType
impl Eq for ValueType
impl Eq for gimli::write::cfi::CallFrameInstruction
impl Eq for ConvertError
impl Eq for Address
impl Eq for gimli::write::Error
impl Eq for Reference
impl Eq for LineString
impl Eq for gimli::write::loc::Location
impl Eq for gimli::write::range::Range
impl Eq for gimli::write::relocate::RelocationTarget
impl Eq for gimli::write::unit::AttributeValue
impl Eq for hashbrown::TryReserveError
impl Eq for Level
impl Eq for LevelFilter
impl Eq for AddressSize
impl Eq for object::common::Architecture
impl Eq for object::common::BinaryFormat
impl Eq for ComdatKind
impl Eq for FileFlags
impl Eq for RelocationEncoding
impl Eq for RelocationFlags
impl Eq for RelocationKind
impl Eq for SectionFlags
impl Eq for SectionKind
impl Eq for object::common::SegmentFlags
impl Eq for SubArchitecture
impl Eq for SymbolKind
impl Eq for SymbolScope
impl Eq for object::endian::Endianness
impl Eq for CompressionFormat
impl Eq for FileKind
impl Eq for ObjectKind
impl Eq for object::read::RelocationTarget
impl Eq for object::read::SymbolSection
impl Eq for Mangling
impl Eq for StandardSection
impl Eq for StandardSegment
impl Eq for object::write::SymbolSection
impl Eq for postcard::error::Error
impl Eq for Op
impl Eq for CDataModel
impl Eq for Size
impl Eq for ParseError
impl Eq for Aarch64Architecture
impl Eq for target_lexicon::targets::Architecture
impl Eq for ArmArchitecture
impl Eq for target_lexicon::targets::BinaryFormat
impl Eq for CustomVendor
impl Eq for Environment
impl Eq for Mips32Architecture
impl Eq for Mips64Architecture
impl Eq for OperatingSystem
impl Eq for Riscv32Architecture
impl Eq for Riscv64Architecture
impl Eq for target_lexicon::targets::Vendor
impl Eq for X86_32Architecture
impl Eq for CallingConvention
impl Eq for target_lexicon::triple::Endianness
impl Eq for PointerWidth
impl Eq for Color
impl Eq for ColorChoice
impl Eq for wasm_encoder::component::aliases::ComponentOuterAliasKind
impl Eq for wasm_encoder::component::canonicals::CanonicalOption
impl Eq for ComponentSectionId
impl Eq for ComponentExportKind
impl Eq for wasm_encoder::component::imports::ComponentTypeRef
impl Eq for wasm_encoder::component::imports::TypeBounds
impl Eq for ModuleArg
impl Eq for wasm_encoder::component::types::ComponentValType
impl Eq for wasm_encoder::component::types::PrimitiveValType
impl Eq for wasm_encoder::core::SectionId
impl Eq for ExportKind
impl Eq for EntityType
impl Eq for TagKind
impl Eq for wasm_encoder::core::types::AbstractHeapType
impl Eq for wasm_encoder::core::types::HeapType
impl Eq for wasm_encoder::core::types::StorageType
impl Eq for wasm_encoder::core::types::ValType
impl Eq for DiscriminantSize
impl Eq for bool
impl Eq for char
impl Eq for i8
impl Eq for i16
impl Eq for i32
impl Eq for i64
impl Eq for i128
impl Eq for isize
impl Eq for !
impl Eq for str
impl Eq for u8
impl Eq for u16
impl Eq for u32
impl Eq for u64
impl Eq for u128
impl Eq for ()
impl Eq for usize
impl Eq for AdapterId
impl Eq for AdapterModuleId
impl Eq for CanonicalOptions
impl Eq for InstanceId
impl Eq for MemoryId
impl Eq for PostReturnId
impl Eq for ReallocId
impl Eq for Adapter
impl Eq for AdapterOptions
impl Eq for CanonicalAbiInfo
impl Eq for ComponentFuncIndex
impl Eq for ComponentIndex
impl Eq for ComponentInstanceIndex
impl Eq for ComponentTypeIndex
impl Eq for ComponentUpvarIndex
impl Eq for DefinedResourceIndex
impl Eq for ExportIndex
impl Eq for ImportIndex
impl Eq for LoweredIndex
impl Eq for ModuleIndex
impl Eq for ModuleInstanceIndex
impl Eq for ModuleUpvarIndex
impl Eq for RecordField
impl Eq for ResourceIndex
impl Eq for RuntimeComponentInstanceIndex
impl Eq for RuntimeImportIndex
impl Eq for RuntimeInstanceIndex
impl Eq for RuntimeMemoryIndex
impl Eq for RuntimePostReturnIndex
impl Eq for RuntimeReallocIndex
impl Eq for StaticComponentIndex
impl Eq for TrampolineIndex
impl Eq for TypeComponentIndex
impl Eq for TypeComponentInstanceIndex
impl Eq for TypeEnum
impl Eq for TypeEnumIndex
impl Eq for TypeFlags
impl Eq for TypeFlagsIndex
impl Eq for TypeFunc
impl Eq for TypeFuncIndex
impl Eq for TypeList
impl Eq for TypeListIndex
impl Eq for TypeModuleIndex
impl Eq for TypeOption
impl Eq for TypeOptionIndex
impl Eq for TypeRecord
impl Eq for TypeRecordIndex
impl Eq for TypeResourceTable
impl Eq for TypeResourceTableIndex
impl Eq for TypeResult
impl Eq for TypeResultIndex
impl Eq for TypeTuple
impl Eq for TypeTupleIndex
impl Eq for TypeVariant
impl Eq for TypeVariantIndex
impl Eq for VariantInfo
impl Eq for String
impl Eq for BuiltinFunctionIndex
impl Eq for ConstExpr
impl Eq for DataIndex
impl Eq for DefinedFuncIndex
impl Eq for DefinedGlobalIndex
impl Eq for DefinedMemoryIndex
impl Eq for DefinedTableIndex
impl Eq for ElemIndex
impl Eq for EngineInternedRecGroupIndex
impl Eq for FilePos
impl Eq for FuncIndex
impl Eq for FuncRefIndex
impl Eq for Global
impl Eq for GlobalIndex
impl Eq for InstructionAddressMap
impl Eq for Memory
impl Eq for MemoryIndex
impl Eq for ModuleInternedRecGroupIndex
impl Eq for ModuleInternedTypeIndex
impl Eq for OwnedMemoryIndex
impl Eq for RecGroupRelativeTypeIndex
impl Eq for StaticModuleIndex
impl Eq for Table
impl Eq for TableIndex
impl Eq for Tag
impl Eq for TagIndex
impl Eq for TrapInformation
impl Eq for TypeIndex
impl Eq for WasmArrayType
impl Eq for WasmFieldType
impl Eq for WasmFuncType
impl Eq for WasmRecGroup
impl Eq for WasmRefType
impl Eq for WasmStructType
impl Eq for WasmSubType
impl Eq for ComponentName
impl Eq for KebabStr
impl Eq for KebabString
impl Eq for wasmtime_environ::wasmparser::ArrayType
impl Eq for BrTable<'_>
impl Eq for CompositeType
impl Eq for wasmtime_environ::wasmparser::FieldType
impl Eq for wasmtime_environ::wasmparser::FuncType
impl Eq for wasmtime_environ::wasmparser::GlobalType
impl Eq for Ieee32
impl Eq for Ieee64
impl Eq for MemArg
impl Eq for wasmtime_environ::wasmparser::MemoryType
impl Eq for PackedIndex
impl Eq for RecGroup
impl Eq for wasmtime_environ::wasmparser::RefType
impl Eq for RelocationEntry
impl Eq for wasmtime_environ::wasmparser::SegmentFlags
impl Eq for wasmtime_environ::wasmparser::StructType
impl Eq for SubType
impl Eq for wasmtime_environ::wasmparser::SymbolFlags
impl Eq for wasmtime_environ::wasmparser::TableType
impl Eq for TryTable
impl Eq for V128
impl Eq for ValidatorId
impl Eq for AliasableResourceId
impl Eq for ComponentCoreInstanceTypeId
impl Eq for ComponentCoreModuleTypeId
impl Eq for ComponentDefinedTypeId
impl Eq for ComponentFuncTypeId
impl Eq for ComponentInstanceTypeId
impl Eq for ComponentTypeId
impl Eq for ComponentValueTypeId
impl Eq for CoreTypeId
impl Eq for RecGroupId
impl Eq for ResourceId
impl Eq for AllocError
impl Eq for Layout
impl Eq for LayoutError
impl Eq for TypeId
impl Eq for CpuidResult
impl Eq for CharTryFromError
impl Eq for DecodeUtf16Error
impl Eq for ParseCharError
impl Eq for TryFromCharError
impl Eq for CStr
impl Eq for FromBytesUntilNulError
impl Eq for FromBytesWithNulError
impl Eq for wasmtime_environ::__core::fmt::Error
impl Eq for PhantomPinned
impl Eq for Assume
impl Eq for AddrParseError
impl Eq for Ipv4Addr
impl Eq for Ipv6Addr
impl Eq for SocketAddrV4
impl Eq for SocketAddrV6
impl Eq for ParseFloatError
impl Eq for ParseIntError
impl Eq for TryFromIntError
impl Eq for wasmtime_environ::__core::ptr::Alignment
impl Eq for RangeFull
impl Eq for ParseBoolError
impl Eq for Utf8Error
impl Eq for Duration
impl Eq for TryFromFloatSecsError
impl Eq for UnorderedKeyError
impl Eq for alloc::collections::TryReserveError
impl Eq for CString
impl Eq for FromVecWithNulError
impl Eq for IntoStringError
impl Eq for NulError
impl Eq for FromUtf8Error
impl Eq for OsStr
impl Eq for OsString
impl Eq for FileType
impl Eq for Permissions
impl Eq for UCred
impl Eq for Components<'_>
impl Eq for Path
impl Eq for PathBuf
impl Eq for StripPrefixError
impl Eq for ExitStatus
impl Eq for ExitStatusError
impl Eq for Output
impl Eq for WaitTimeoutResult
impl Eq for RecvError
impl Eq for AccessError
impl Eq for ThreadId
impl Eq for Instant
impl Eq for SystemTime
impl Eq for BareFunctionType
impl Eq for CloneSuffix
impl Eq for CloneTypeIdentifier
impl Eq for ClosureTypeName
impl Eq for CvQualifiers
impl Eq for DataMemberPrefix
impl Eq for Discriminator
impl Eq for FunctionParam
impl Eq for FunctionType
impl Eq for Identifier
impl Eq for Initializer
impl Eq for LambdaSig
impl Eq for MemberName
impl Eq for NonSubstitution
impl Eq for NvOffset
impl Eq for PointerToMemberType
impl Eq for QualifiedBuiltin
impl Eq for ResourceName
impl Eq for SeqId
impl Eq for SimpleId
impl Eq for SourceName
impl Eq for SubobjectExpr
impl Eq for TaggedName
impl Eq for TemplateArgs
impl Eq for TemplateParam
impl Eq for TemplateTemplateParam
impl Eq for UnnamedTypeName
impl Eq for UnresolvedQualifierLevel
impl Eq for UnscopedTemplateName
impl Eq for VOffset
impl Eq for CompoundBitSet
impl Eq for DebugTypeSignature
impl Eq for DwoId
impl Eq for gimli::common::Encoding
impl Eq for LineEncoding
impl Eq for Register
impl Eq for DwAccess
impl Eq for DwAddr
impl Eq for DwAt
impl Eq for DwAte
impl Eq for DwCc
impl Eq for DwCfa
impl Eq for DwChildren
impl Eq for DwDefaulted
impl Eq for DwDs
impl Eq for DwDsc
impl Eq for DwEhPe
impl Eq for DwEnd
impl Eq for DwForm
impl Eq for DwId
impl Eq for DwIdx
impl Eq for DwInl
impl Eq for DwLang
impl Eq for DwLle
impl Eq for DwLnct
impl Eq for DwLne
impl Eq for DwLns
impl Eq for DwMacro
impl Eq for DwOp
impl Eq for DwOrd
impl Eq for DwRle
impl Eq for DwSect
impl Eq for DwSectV2
impl Eq for DwTag
impl Eq for DwUt
impl Eq for DwVirtuality
impl Eq for DwVis
impl Eq for gimli::endianity::BigEndian
impl Eq for gimli::endianity::LittleEndian
impl Eq for Abbreviation
impl Eq for AttributeSpecification
impl Eq for ArangeEntry
impl Eq for Augmentation
impl Eq for BaseAddresses
impl Eq for SectionBaseAddresses
impl Eq for UnitIndexSection
impl Eq for FileEntryFormat
impl Eq for LineRow
impl Eq for ReaderOffsetId
impl Eq for gimli::read::rnglists::Range
impl Eq for StoreOnHeap
impl Eq for CieId
impl Eq for gimli::write::cfi::CommonInformationEntry
impl Eq for gimli::write::cfi::FrameDescriptionEntry
impl Eq for FileId
impl Eq for DirectoryId
impl Eq for FileInfo
impl Eq for LocationList
impl Eq for LocationListId
impl Eq for gimli::write::op::Expression
impl Eq for RangeList
impl Eq for RangeListId
impl Eq for Relocation
impl Eq for LineStringId
impl Eq for gimli::write::str::StringId
impl Eq for gimli::write::unit::Attribute
impl Eq for UnitEntryId
impl Eq for UnitId
impl Eq for indexmap::TryReserveError
impl Eq for object::endian::BigEndian
impl Eq for object::endian::LittleEndian
impl Eq for CompressedFileRange
impl Eq for object::read::Error
impl Eq for object::read::SectionIndex
impl Eq for object::read::SymbolIndex
impl Eq for Class
impl Eq for object::write::elf::writer::SectionIndex
impl Eq for object::write::elf::writer::SymbolIndex
impl Eq for object::write::string::StringId
impl Eq for ComdatId
impl Eq for object::write::Error
impl Eq for object::write::SectionId
impl Eq for SymbolId
impl Eq for BuildMetadata
impl Eq for Comparator
impl Eq for Prerelease
impl Eq for Version
impl Eq for VersionReq
impl Eq for DefaultToHost
impl Eq for DefaultToUnknown
impl Eq for Triple
impl Eq for ColorSpec
impl Eq for ParseColorError
impl Eq for Function
impl Eq for wasm_encoder::core::globals::GlobalType
impl Eq for wasm_encoder::core::memories::MemoryType
impl Eq for wasm_encoder::core::tables::TableType
impl Eq for TagType
impl Eq for wasm_encoder::core::types::ArrayType
impl Eq for wasm_encoder::core::types::FieldType
impl Eq for wasm_encoder::core::types::FuncType
impl Eq for wasm_encoder::core::types::RefType
impl Eq for wasm_encoder::core::types::StructType
impl<'a> Eq for FlagValue<'a>
impl<'a> Eq for ComponentDefinedType<'a>
impl<'a> Eq for Operator<'a>
impl<'a> Eq for Utf8Pattern<'a>
impl<'a> Eq for Component<'a>
impl<'a> Eq for std::path::Prefix<'a>
impl<'a> Eq for DependencyName<'a>
impl<'a> Eq for HashName<'a>
impl<'a> Eq for InterfaceName<'a>
impl<'a> Eq for ResourceFunc<'a>
impl<'a> Eq for UrlName<'a>
impl<'a> Eq for VariantCase<'a>
impl<'a> Eq for wasmtime_environ::__core::panic::Location<'a>
impl<'a> Eq for Utf8Chunk<'a>
impl<'a> Eq for PrefixComponent<'a>
impl<'a> Eq for Metadata<'a>
impl<'a> Eq for MetadataBuilder<'a>
impl<'bases, Section, R> Eq for CieOrFde<'bases, Section, R>
impl<'bases, Section, R> Eq for PartialFrameDescriptionEntry<'bases, Section, R>where
Section: Eq + UnwindSection<R>,
R: Eq + Reader,
<R as Reader>::Offset: Eq,
<Section as UnwindSection<R>>::Offset: Eq,
impl<'data> Eq for CodeView<'data>
impl<'data> Eq for CompressedData<'data>
impl<'data> Eq for Export<'data>
impl<'data> Eq for Import<'data>
impl<'data> Eq for ObjectMapEntry<'data>
impl<'data> Eq for ObjectMapFile<'data>
impl<'data> Eq for SymbolMapName<'data>
impl<'data> Eq for Bytes<'data>
impl<'input, Endian> Eq for EndianSlice<'input, Endian>
impl<A> Eq for &A
impl<A> Eq for &mut A
impl<A> Eq for SmallVec<A>
impl<B> Eq for Cow<'_, B>
impl<B, C> Eq for ControlFlow<B, C>
impl<Dyn> Eq for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Eq for ReadExactError<E>where
E: Eq,
impl<E> Eq for WriteFmtError<E>where
E: Eq,
impl<E> Eq for I16<E>
impl<E> Eq for I32<E>
impl<E> Eq for I64<E>
impl<E> Eq for U16<E>
impl<E> Eq for U32<E>
impl<E> Eq for U64<E>
impl<E> Eq for I16Bytes<E>
impl<E> Eq for I32Bytes<E>
impl<E> Eq for I64Bytes<E>
impl<E> Eq for U16Bytes<E>
impl<E> Eq for U32Bytes<E>
impl<E> Eq for U64Bytes<E>
impl<F> Eq for Fwhere
F: FnPtr,
impl<H> Eq for BuildHasherDefault<H>
impl<Idx> Eq for wasmtime_environ::__core::range::legacy::Range<Idx>where
Idx: Eq,
impl<Idx> Eq for wasmtime_environ::__core::range::legacy::RangeFrom<Idx>where
Idx: Eq,
impl<Idx> Eq for wasmtime_environ::__core::range::legacy::RangeInclusive<Idx>where
Idx: Eq,
impl<Idx> Eq for wasmtime_environ::__core::range::Range<Idx>where
Idx: Eq,
impl<Idx> Eq for wasmtime_environ::__core::range::RangeFrom<Idx>where
Idx: Eq,
impl<Idx> Eq for wasmtime_environ::__core::range::RangeInclusive<Idx>where
Idx: Eq,
impl<Idx> Eq for RangeTo<Idx>where
Idx: Eq,
impl<Idx> Eq for RangeToInclusive<Idx>where
Idx: Eq,
impl<K, V> Eq for PrimaryMap<K, V>
impl<K, V> Eq for SecondaryMap<K, V>
impl<K, V> Eq for wasmtime_environ::wasmparser::collections::IndexMap<K, V>
impl<K, V> Eq for Map<K, V>
impl<K, V> Eq for indexmap::map::slice::Slice<K, V>
impl<K, V, A> Eq for BTreeMap<K, V, A>
impl<K, V, S> Eq for std::collections::hash::map::HashMap<K, V, S>
impl<K, V, S> Eq for indexmap::map::IndexMap<K, V, S>
impl<K, V, S, A> Eq for hashbrown::map::HashMap<K, V, S, A>
impl<Offset> Eq for UnitType<Offset>where
Offset: Eq + ReaderOffset,
impl<Ptr> Eq for Pin<Ptr>
impl<R> Eq for DebugFrame<R>
impl<R> Eq for EhFrame<R>
impl<R> Eq for EhFrameHdr<R>
impl<R> Eq for LocationListEntry<R>
impl<R> Eq for gimli::read::op::Expression<R>
impl<R> Eq for gimli::read::unit::Attribute<R>
impl<R, Offset> Eq for LineInstruction<R, Offset>
impl<R, Offset> Eq for Operation<R, Offset>
impl<R, Offset> Eq for gimli::read::unit::AttributeValue<R, Offset>
impl<R, Offset> Eq for ArangeHeader<R, Offset>
impl<R, Offset> Eq for gimli::read::cfi::CommonInformationEntry<R, Offset>
impl<R, Offset> Eq for gimli::read::cfi::FrameDescriptionEntry<R, Offset>
impl<R, Offset> Eq for CompleteLineProgram<R, Offset>
impl<R, Offset> Eq for FileEntry<R, Offset>
impl<R, Offset> Eq for IncompleteLineProgram<R, Offset>
impl<R, Offset> Eq for LineProgramHeader<R, Offset>
impl<R, Offset> Eq for UnitHeader<R, Offset>
impl<Section, Symbol> Eq for object::common::SymbolFlags<Section, Symbol>
impl<T> Eq for Option<T>where
T: Eq,
impl<T> Eq for Bound<T>where
T: Eq,
impl<T> Eq for Poll<T>where
T: Eq,
impl<T> Eq for SendTimeoutError<T>where
T: Eq,
impl<T> Eq for TrySendError<T>where
T: Eq,
impl<T> Eq for UnitSectionOffset<T>where
T: Eq,
impl<T> Eq for gimli::read::cfi::CallFrameInstruction<T>where
T: Eq + ReaderOffset,
impl<T> Eq for CfaRule<T>where
T: Eq + ReaderOffset,
impl<T> Eq for RegisterRule<T>where
T: Eq + ReaderOffset,
impl<T> Eq for DieReference<T>where
T: Eq,
impl<T> Eq for *const Twhere
T: ?Sized,
impl<T> Eq for *mut Twhere
T: ?Sized,
impl<T> Eq for [T]where
T: Eq,
impl<T> Eq for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to twelve items long.