Trait frame_support::dispatch::marker::StructuralEq[][src]

#[lang = "structural_teq"]pub trait StructuralEq { }
🔬 This is a nightly-only experimental API. (structural_match)

Required trait for constants used in pattern matches.

Any type that derives Eq automatically implements this trait, regardless of whether its type parameters implement Eq.

This is a hack to work around a limitation in our type system.

Background

We want to require that types of consts used in pattern matches have the attribute #[derive(PartialEq, Eq)].

In a more ideal world, we could check that requirement by just checking that the given type implements both the StructuralPartialEq trait and the Eq trait. However, you can have ADTs that do derive(PartialEq, Eq), and be a case that we want the compiler to accept, and yet the constant’s type fails to implement Eq.

Namely, a case like this:

#[derive(PartialEq, Eq)]
struct Wrap<X>(X);

fn higher_order(_: &()) { }

const CFN: Wrap<fn(&())> = Wrap(higher_order);

fn main() {
    match CFN {
        CFN => {}
        _ => {}
    }
}

(The problem in the above code is that Wrap<fn(&())> does not implement PartialEq, nor Eq, because for<'a> fn(&'a _) does not implement those traits.)

Therefore, we cannot rely on naive check for StructuralPartialEq and mere Eq.

As a hack to work around this, we use two separate traits injected by each of the two derives (#[derive(PartialEq)] and #[derive(Eq)]) and check that both of them are present as part of structural-match checking.

Implementations on Foreign Types

impl StructuralEq for AccessError[src]

impl<'a> StructuralEq for Prefix<'a>[src]

impl StructuralEq for WaitTimeoutResult[src]

impl StructuralEq for UCred[src]

impl StructuralEq for ErrorKind[src]

impl StructuralEq for CString[src]

impl StructuralEq for Ipv6MulticastScope[src]

impl<T> StructuralEq for Cursor<T>[src]

impl StructuralEq for FileType[src]

impl StructuralEq for SystemTime[src]

impl<'a> StructuralEq for Component<'a>[src]

impl StructuralEq for RecvError[src]

impl StructuralEq for TryRecvError[src]

impl StructuralEq for Instant[src]

impl StructuralEq for Permissions[src]

impl StructuralEq for RecvTimeoutError[src]

impl StructuralEq for BacktraceStatus[src]

impl StructuralEq for FromVecWithNulError[src]

impl StructuralEq for VarError[src]

impl StructuralEq for ThreadId[src]

impl StructuralEq for AddrParseError[src]

impl StructuralEq for IpAddr[src]

impl StructuralEq for Shutdown[src]

impl StructuralEq for SocketAddr[src]

impl StructuralEq for FromBytesWithNulError[src]

impl StructuralEq for SeekFrom[src]

impl StructuralEq for ExitStatus[src]

impl<T> StructuralEq for TrySendError<T>[src]

impl<'a> StructuralEq for PrefixComponent<'a>[src]

impl<T> StructuralEq for SendError<T>[src]

impl StructuralEq for IntoStringError[src]

impl StructuralEq for StripPrefixError[src]

impl StructuralEq for Output[src]

impl StructuralEq for NulError[src]

impl StructuralEq for NonZeroU128[src]

impl<T> StructuralEq for ManuallyDrop<T> where
    T: ?Sized
[src]

impl<'a> StructuralEq for Utf8LossyChunk<'a>[src]

impl StructuralEq for NonZeroIsize[src]

impl<T> StructuralEq for Option<T>[src]

impl<T> StructuralEq for Reverse<T>[src]

impl StructuralEq for RangeFull[src]

impl<T> StructuralEq for Poll<T>[src]

impl<T> StructuralEq for Wrapping<T>[src]

impl<Idx> StructuralEq for RangeInclusive<Idx>[src]

impl<Idx> StructuralEq for Range<Idx>[src]

impl StructuralEq for NonZeroI32[src]

impl StructuralEq for LayoutError[src]

impl StructuralEq for ParseIntError[src]

impl StructuralEq for FpCategory[src]

impl StructuralEq for CharTryFromError[src]

impl StructuralEq for NoneError[src]

impl StructuralEq for ParseBoolError[src]

impl StructuralEq for NonZeroI16[src]

impl StructuralEq for Duration[src]

impl StructuralEq for NonZeroI8[src]

impl StructuralEq for DecodeUtf16Error[src]

impl StructuralEq for AllocError[src]

impl StructuralEq for TypeId[src]

impl StructuralEq for NonZeroU16[src]

impl StructuralEq for NonZeroI128[src]

impl StructuralEq for CpuidResult[src]

impl StructuralEq for TryFromIntError[src]

impl StructuralEq for ParseCharError[src]

impl StructuralEq for Utf8Error[src]

impl StructuralEq for NonZeroU64[src]

impl<'a> StructuralEq for Location<'a>[src]

impl StructuralEq for NonZeroU8[src]

impl<Idx> StructuralEq for RangeTo<Idx>[src]

impl StructuralEq for IntErrorKind[src]

impl StructuralEq for ParseFloatError[src]

impl StructuralEq for Ordering[src]

impl<Idx> StructuralEq for RangeFrom<Idx>[src]

impl<T> StructuralEq for Bound<T>[src]

impl<Y, R> StructuralEq for GeneratorState<Y, R>[src]

impl StructuralEq for SearchStep[src]

impl<Idx> StructuralEq for RangeToInclusive<Idx>[src]

impl StructuralEq for NonZeroU32[src]

impl StructuralEq for NonZeroI64[src]

impl StructuralEq for Layout[src]

impl StructuralEq for NonZeroUsize[src]

impl<T> StructuralEq for BTreeSet<T>[src]

impl StructuralEq for FromUtf8Error[src]

impl StructuralEq for String[src]

impl StructuralEq for TryReserveError[src]

impl<T> StructuralEq for Compact<T>[src]

impl StructuralEq for Error[src]

impl StructuralEq for OptionBool[src]

impl<T> StructuralEq for CapacityError<T>[src]

impl StructuralEq for Error[src]

impl StructuralEq for Empty[src]

impl StructuralEq for Kind[src]

impl StructuralEq for Level[src]

impl StructuralEq for LevelFilter[src]

impl StructuralEq for Id[src]

impl StructuralEq for LevelFilter[src]

impl<'a> StructuralEq for Metadata<'a>[src]

impl StructuralEq for Level[src]

impl<'a> StructuralEq for MetadataBuilder<'a>[src]

impl StructuralEq for ChronoUtc[src]

impl StructuralEq for Pretty[src]

impl StructuralEq for FmtSpan[src]

impl StructuralEq for Json[src]

impl StructuralEq for Directive[src]

impl StructuralEq for Uptime[src]

impl StructuralEq for ChronoLocal[src]

impl StructuralEq for SystemTime[src]

impl StructuralEq for Compact[src]

impl StructuralEq for Full[src]

impl<'t> StructuralEq for Match<'t>[src]

impl<'t> StructuralEq for Match<'t>[src]

impl StructuralEq for MatchKind[src]

impl StructuralEq for MatchKind[src]

impl StructuralEq for Match[src]

impl StructuralEq for RepetitionKind[src]

impl StructuralEq for Utf8Range[src]

impl StructuralEq for ClassSet[src]

impl StructuralEq for RepetitionRange[src]

impl StructuralEq for LiteralKind[src]

impl StructuralEq for Class[src]

impl StructuralEq for Anchor[src]

impl StructuralEq for ClassBracketed[src]

impl StructuralEq for Comment[src]

impl StructuralEq for Class[src]

impl StructuralEq for Ast[src]

impl StructuralEq for Hir[src]

impl StructuralEq for ClassSetUnion[src]

impl StructuralEq for Repetition[src]

impl StructuralEq for CaptureName[src]

impl StructuralEq for Group[src]

impl StructuralEq for GroupKind[src]

impl StructuralEq for ClassSetRange[src]

impl StructuralEq for Flag[src]

impl StructuralEq for Error[src]

impl StructuralEq for HirKind[src]

impl StructuralEq for Error[src]

impl StructuralEq for RepetitionRange[src]

impl StructuralEq for FlagsItemKind[src]

impl StructuralEq for ClassBytesRange[src]

impl StructuralEq for ClassAscii[src]

impl StructuralEq for WithComments[src]

impl StructuralEq for SetFlags[src]

impl StructuralEq for ClassSetBinaryOpKind[src]

impl StructuralEq for ClassUnicodeKind[src]

impl StructuralEq for GroupKind[src]

impl StructuralEq for SpecialLiteralKind[src]

impl StructuralEq for Concat[src]

impl StructuralEq for ClassSetBinaryOp[src]

impl StructuralEq for ClassUnicode[src]

impl StructuralEq for HexLiteralKind[src]

impl StructuralEq for ClassPerl[src]

impl StructuralEq for ClassAsciiKind[src]

impl StructuralEq for Utf8Sequence[src]

impl StructuralEq for RepetitionOp[src]

impl StructuralEq for ClassUnicode[src]

impl StructuralEq for Group[src]

impl StructuralEq for Literal[src]

impl StructuralEq for AssertionKind[src]

impl StructuralEq for Assertion[src]

impl StructuralEq for ClassUnicodeRange[src]

impl StructuralEq for ClassSetItem[src]

impl StructuralEq for Literals[src]

impl StructuralEq for ClassBytes[src]

impl StructuralEq for ErrorKind[src]

impl StructuralEq for ClassPerlKind[src]

impl StructuralEq for Repetition[src]

impl StructuralEq for ErrorKind[src]

impl StructuralEq for ClassUnicodeOpKind[src]

impl StructuralEq for RepetitionKind[src]

impl StructuralEq for Error[src]

impl StructuralEq for Span[src]

impl StructuralEq for Literal[src]

impl StructuralEq for Flags[src]

impl StructuralEq for FlagsItem[src]

impl StructuralEq for Position[src]

impl StructuralEq for WordBoundary[src]

impl StructuralEq for Literal[src]

impl StructuralEq for Alternation[src]

impl StructuralEq for WaitTimeoutResult[src]

impl StructuralEq for OnceState[src]

impl StructuralEq for UnparkResult[src]

impl StructuralEq for RequeueOp[src]

impl StructuralEq for ParkResult[src]

impl StructuralEq for UnparkToken[src]

impl StructuralEq for ParkToken[src]

impl StructuralEq for FilterOp[src]

impl StructuralEq for sysinfo[src]

impl StructuralEq for ff_rumble_effect[src]

impl StructuralEq for pthread_mutexattr_t[src]

impl StructuralEq for iovec[src]

impl StructuralEq for utimbuf[src]

impl StructuralEq for can_filter[src]

impl StructuralEq for fd_set[src]

impl StructuralEq for sigset_t[src]

impl StructuralEq for flock[src]

impl StructuralEq for timespec[src]

impl StructuralEq for _libc_fpxreg[src]

impl StructuralEq for sock_extended_err[src]

impl StructuralEq for input_event[src]

impl StructuralEq for ff_replay[src]

impl StructuralEq for termios2[src]

impl StructuralEq for Elf32_Shdr[src]

impl StructuralEq for signalfd_siginfo[src]

impl StructuralEq for ip_mreq[src]

impl StructuralEq for Elf64_Phdr[src]

impl StructuralEq for statfs64[src]

impl StructuralEq for stat[src]

impl StructuralEq for user_regs_struct[src]

impl StructuralEq for ucred[src]

impl StructuralEq for dl_phdr_info[src]

impl StructuralEq for _libc_xmmreg[src]

impl StructuralEq for ipv6_mreq[src]

impl StructuralEq for mmsghdr[src]

impl StructuralEq for itimerval[src]

impl StructuralEq for __timeval[src]

impl StructuralEq for in_addr[src]

impl StructuralEq for passwd[src]

impl StructuralEq for nlattr[src]

impl StructuralEq for sockaddr[src]

impl StructuralEq for if_nameindex[src]

impl StructuralEq for posix_spawnattr_t[src]

impl StructuralEq for Elf64_Ehdr[src]

impl StructuralEq for timex[src]

impl StructuralEq for nl_pktinfo[src]

impl StructuralEq for rusage[src]

impl StructuralEq for Elf32_Chdr[src]

impl StructuralEq for Elf64_Shdr[src]

impl StructuralEq for arphdr[src]

impl StructuralEq for linger[src]

impl StructuralEq for winsize[src]

impl StructuralEq for in6_rtmsg[src]

impl StructuralEq for timeval[src]

impl StructuralEq for group[src]

impl StructuralEq for pthread_rwlockattr_t[src]

impl StructuralEq for arpreq_old[src]

impl StructuralEq for in6_pktinfo[src]

impl StructuralEq for spwd[src]

impl StructuralEq for genlmsghdr[src]

impl StructuralEq for addrinfo[src]

impl StructuralEq for Elf64_Chdr[src]

impl StructuralEq for Elf32_Phdr[src]

impl StructuralEq for sem_t[src]

impl StructuralEq for statvfs[src]

impl StructuralEq for _libc_fpstate[src]

impl StructuralEq for regmatch_t[src]

impl StructuralEq for nlmsgerr[src]

impl StructuralEq for packet_mreq[src]

impl StructuralEq for statx[src]

impl StructuralEq for nl_mmap_req[src]

impl StructuralEq for glob_t[src]

impl StructuralEq for user[src]

impl StructuralEq for input_id[src]

impl StructuralEq for ifaddrs[src]

impl StructuralEq for msginfo[src]

impl StructuralEq for Elf32_Ehdr[src]

impl StructuralEq for fanotify_response[src]

impl StructuralEq for ff_condition_effect[src]

impl StructuralEq for cpu_set_t[src]

impl StructuralEq for in_pktinfo[src]

impl StructuralEq for statx_timestamp[src]

impl StructuralEq for ntptimeval[src]

impl StructuralEq for __c_anonymous_sockaddr_can_j1939[src]

impl StructuralEq for mallinfo[src]

impl StructuralEq for stack_t[src]

impl StructuralEq for mntent[src]

impl StructuralEq for fsid_t[src]

impl StructuralEq for tm[src]

impl StructuralEq for in6_addr[src]

impl StructuralEq for Elf32_Sym[src]

impl StructuralEq for input_absinfo[src]

impl StructuralEq for rlimit64[src]

impl StructuralEq for itimerspec[src]

impl StructuralEq for flock64[src]

impl StructuralEq for rlimit[src]

impl StructuralEq for sockaddr_vm[src]

impl StructuralEq for Elf64_Sym[src]

impl StructuralEq for sigval[src]

impl StructuralEq for pthread_attr_t[src]

impl StructuralEq for ipc_perm[src]

impl StructuralEq for sembuf[src]

impl StructuralEq for ff_periodic_effect[src]

impl StructuralEq for hostent[src]

impl StructuralEq for mcontext_t[src]

impl StructuralEq for rtentry[src]

impl StructuralEq for ff_constant_effect[src]

impl StructuralEq for statfs[src]

impl StructuralEq for sockaddr_ll[src]

impl StructuralEq for msqid_ds[src]

impl StructuralEq for regex_t[src]

impl StructuralEq for pollfd[src]

impl StructuralEq for posix_spawn_file_actions_t[src]

impl StructuralEq for ip_mreq_source[src]

impl StructuralEq for sigaction[src]

impl StructuralEq for dqblk[src]

impl StructuralEq for shmid_ds[src]

impl StructuralEq for input_mask[src]

impl StructuralEq for inotify_event[src]

impl StructuralEq for glob64_t[src]

impl StructuralEq for arpd_request[src]

impl StructuralEq for Dl_info[src]

impl StructuralEq for aiocb[src]

impl StructuralEq for cmsghdr[src]

impl StructuralEq for statvfs64[src]

impl StructuralEq for ff_envelope[src]

impl StructuralEq for msghdr[src]

impl StructuralEq for sockaddr_in[src]

impl StructuralEq for input_keymap_entry[src]

impl StructuralEq for sockaddr_in6[src]

impl StructuralEq for termios[src]

impl StructuralEq for __c_anonymous_sockaddr_can_tp[src]

impl StructuralEq for sched_param[src]

impl StructuralEq for ff_ramp_effect[src]

impl StructuralEq for nl_mmap_hdr[src]

impl StructuralEq for fanotify_event_metadata[src]

impl StructuralEq for __exit_status[src]

impl StructuralEq for tms[src]

impl StructuralEq for stat64[src]

impl StructuralEq for arpreq[src]

impl StructuralEq for siginfo_t[src]

impl StructuralEq for protoent[src]

impl StructuralEq for pthread_condattr_t[src]

impl StructuralEq for ff_trigger[src]

impl StructuralEq for ff_effect[src]

impl StructuralEq for nlmsghdr[src]

impl StructuralEq for servent[src]

impl StructuralEq for lconv[src]

impl StructuralEq for ip_mreqn[src]

impl StructuralEq for BigEndian[src]

impl StructuralEq for LittleEndian[src]

impl StructuralEq for Category[src]

impl StructuralEq for Value[src]

impl StructuralEq for Number[src]

impl StructuralEq for IsoWeek[src]

impl StructuralEq for FixedOffset[src]

impl StructuralEq for Weekday[src]

impl StructuralEq for InternalFixed[src]

impl<T> StructuralEq for LocalResult<T>[src]

impl StructuralEq for SecondsFormat[src]

impl StructuralEq for Pad[src]

impl StructuralEq for NaiveDate[src]

impl StructuralEq for Fixed[src]

impl StructuralEq for ParseError[src]

impl StructuralEq for NaiveDateTime[src]

impl<'a> StructuralEq for Item<'a>[src]

impl StructuralEq for Utc[src]

impl StructuralEq for RoundingError[src]

impl StructuralEq for NaiveTime[src]

impl StructuralEq for Month[src]

impl StructuralEq for Numeric[src]

impl StructuralEq for SteadyTime[src]

impl StructuralEq for Timespec[src]

impl StructuralEq for OutOfRangeError[src]

impl StructuralEq for Tm[src]

impl StructuralEq for Duration[src]

impl<A> StructuralEq for ExtendedGcd<A>[src]

impl StructuralEq for CryptoTypeId[src]

impl StructuralEq for LocalizedSignature[src]

impl StructuralEq for OffchainOverlayedChange[src]

impl StructuralEq for HttpError[src]

impl StructuralEq for Ss58AddressFormat[src]

impl StructuralEq for SecretStringError[src]

impl StructuralEq for OpaqueNetworkState[src]

impl StructuralEq for EnvironmentDefinition[src]

impl StructuralEq for Duration[src]

impl StructuralEq for Entry[src]

impl StructuralEq for OpaquePeerId[src]

impl StructuralEq for Public[src]

impl StructuralEq for PendingRequest[src]

impl StructuralEq for HttpRequestStatus[src]

impl StructuralEq for Public[src]

impl StructuralEq for KeyTypeId[src]

impl StructuralEq for AccountId32[src]

impl StructuralEq for ChangesTrieConfiguration[src]

impl StructuralEq for PublicError[src]

impl StructuralEq for HttpRequestId[src]

impl StructuralEq for ExternEntity[src]

impl StructuralEq for Capability[src]

impl StructuralEq for LocalizedSignature[src]

impl StructuralEq for CryptoTypePublicPair[src]

impl StructuralEq for PublicError[src]

impl StructuralEq for Bytes[src]

impl StructuralEq for Timestamp[src]

impl StructuralEq for Capabilities[src]

impl<Number, Hash> StructuralEq for ChangesTrieConfigurationRange<Number, Hash>[src]

impl StructuralEq for OpaqueMultiaddr[src]

impl StructuralEq for StorageKind[src]

impl StructuralEq for ParseError[src]

impl StructuralEq for PublicError[src]

impl StructuralEq for DeriveJunction[src]

impl StructuralEq for Dummy[src]

impl<T> StructuralEq for Pointer<T> where
    T: PointerType
[src]

impl StructuralEq for Signature[src]

impl StructuralEq for ValueType[src]

impl StructuralEq for ValueType[src]

impl StructuralEq for Signature[src]

impl StructuralEq for Words[src]

impl StructuralEq for Pages[src]

impl StructuralEq for Bytes[src]

impl StructuralEq for Pages[src]

impl StructuralEq for Words[src]

impl StructuralEq for BlockType[src]

impl StructuralEq for FunctionType[src]

impl StructuralEq for BrTableData[src]

impl StructuralEq for ValueType[src]

impl StructuralEq for Type[src]

impl StructuralEq for Instruction[src]

impl StructuralEq for StartedWith[src]

impl StructuralEq for Sign[src]

impl StructuralEq for ParseBigIntError[src]

impl StructuralEq for PrefixedStorageKey[src]

impl StructuralEq for ChildTrieParentKeyId[src]

impl StructuralEq for TrackedStorageKey[src]

impl<Hash> StructuralEq for StorageChangeSet<Hash>[src]

impl StructuralEq for StorageKey[src]

impl StructuralEq for StorageData[src]

impl StructuralEq for StorageChild[src]

impl StructuralEq for U256[src]

impl StructuralEq for U512[src]

impl StructuralEq for Error[src]

impl StructuralEq for U128[src]

impl StructuralEq for BernoulliError[src]

impl StructuralEq for WeightedError[src]

impl StructuralEq for Error[src]

impl<T> StructuralEq for CapacityError<T>[src]

impl StructuralEq for Z0[src]

impl<V, A> StructuralEq for TArr<V, A>[src]

impl StructuralEq for Greater[src]

impl<U, B> StructuralEq for UInt<U, B>[src]

impl<U> StructuralEq for PInt<U> where
    U: NonZero + Unsigned
[src]

impl StructuralEq for Equal[src]

impl<U> StructuralEq for NInt<U> where
    U: NonZero + Unsigned
[src]

impl StructuralEq for UTerm[src]

impl StructuralEq for ATerm[src]

impl StructuralEq for B0[src]

impl StructuralEq for Less[src]

impl StructuralEq for B1[src]

impl StructuralEq for u32x4

impl StructuralEq for WaitTimeoutResult[src]

impl StructuralEq for OnceState[src]

impl StructuralEq for UnparkResult[src]

impl StructuralEq for ParkResult[src]

impl StructuralEq for RequeueOp[src]

impl StructuralEq for ParkToken[src]

impl StructuralEq for UnparkToken[src]

impl StructuralEq for FilterOp[src]

impl<Z> StructuralEq for Zeroizing<Z> where
    Z: Zeroize
[src]

impl StructuralEq for PublicKey[src]

impl StructuralEq for CompressedEdwardsY[src]

impl StructuralEq for CompressedRistretto[src]

impl StructuralEq for Error[src]

impl StructuralEq for InvalidKeyLength[src]

impl StructuralEq for MacError[src]

impl<L, R> StructuralEq for Either<L, R>[src]

impl StructuralEq for TryReadyError[src]

impl StructuralEq for RecvError[src]

impl StructuralEq for TryRecvError[src]

impl StructuralEq for ReadyTimeoutError[src]

impl<T> StructuralEq for SendError<T>[src]

impl StructuralEq for SelectTimeoutError[src]

impl StructuralEq for RecvTimeoutError[src]

impl<T> StructuralEq for SendTimeoutError<T>[src]

impl StructuralEq for TrySelectError[src]

impl<T> StructuralEq for TrySendError<T>[src]

impl<T> StructuralEq for CachePadded<T>[src]

impl<T> StructuralEq for Steal<T>[src]

impl StructuralEq for Signature[src]

impl<K> StructuralEq for ExtendedKey<K>[src]

impl StructuralEq for Commitment[src]

impl StructuralEq for RistrettoBoth[src]

impl StructuralEq for VRFInOut[src]

impl StructuralEq for PublicKey[src]

impl StructuralEq for SignatureError[src]

impl StructuralEq for ECQVCertPublic[src]

impl StructuralEq for VRFProof[src]

impl StructuralEq for VRFOutput[src]

impl StructuralEq for VRFProofBatchable[src]

impl StructuralEq for ChainCode[src]

impl StructuralEq for Cosignature[src]

impl StructuralEq for MultiSignatureStage[src]

impl StructuralEq for CompressedRistretto[src]

impl StructuralEq for CompressedEdwardsY[src]

impl<E> StructuralEq for Compat<E>[src]

impl StructuralEq for PrintFmt[src]

impl<T> StructuralEq for DebugLocListsBase<T>[src]

impl StructuralEq for Range[src]

impl<R, Offset> StructuralEq for CompleteLineProgram<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R> StructuralEq for Expression<R> where
    R: Reader
[src]

impl StructuralEq for DwMacro[src]

impl StructuralEq for DwVis[src]

impl StructuralEq for DwLnct[src]

impl StructuralEq for LittleEndian[src]

impl StructuralEq for DwChildren[src]

impl StructuralEq for ColumnType[src]

impl<T> StructuralEq for DebugStrOffsetsBase<T>[src]

impl StructuralEq for SectionBaseAddresses[src]

impl StructuralEq for DwId[src]

impl<T> StructuralEq for EhFrameOffset<T>[src]

impl<Offset> StructuralEq for UnitType<Offset> where
    Offset: ReaderOffset
[src]

impl StructuralEq for Error[src]

impl<T> StructuralEq for UnitOffset<T>[src]

impl StructuralEq for DwoId[src]

impl StructuralEq for DwIdx[src]

impl StructuralEq for DwLne[src]

impl StructuralEq for DwOp[src]

impl StructuralEq for DwRle[src]

impl StructuralEq for DwUt[src]

impl StructuralEq for FileEntryFormat[src]

impl StructuralEq for DwTag[src]

impl StructuralEq for DebugTypeSignature[src]

impl<T> StructuralEq for UnitSectionOffset<T>[src]

impl StructuralEq for Encoding[src]

impl<R, Offset> StructuralEq for Operation<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<T> StructuralEq for DebugFrameOffset<T>[src]

impl StructuralEq for LineEncoding[src]

impl StructuralEq for DwForm[src]

impl<R, Offset> StructuralEq for FrameDescriptionEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl StructuralEq for DwLns[src]

impl StructuralEq for DwVirtuality[src]

impl<R, Offset> StructuralEq for UnitHeader<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl StructuralEq for SectionId[src]

impl<T> StructuralEq for DebugMacinfoOffset<T>[src]

impl<T> StructuralEq for DebugStrOffset<T>[src]

impl StructuralEq for Register[src]

impl<R> StructuralEq for Attribute<R> where
    R: Reader
[src]

impl<'bases, Section, R> StructuralEq for PartialFrameDescriptionEntry<'bases, Section, R> where
    R: Reader,
    Section: UnwindSection<R>, 
[src]

impl StructuralEq for DwAccess[src]

impl StructuralEq for Pointer[src]

impl StructuralEq for DwEnd[src]

impl<R> StructuralEq for UnwindContext<R> where
    R: Reader
[src]

impl StructuralEq for DwCfa[src]

impl StructuralEq for DwLang[src]

impl StructuralEq for LineRow[src]

impl StructuralEq for DwDefaulted[src]

impl<T> StructuralEq for DebugLineOffset<T>[src]

impl<T> StructuralEq for DebugRngListsIndex<T>[src]

impl<'bases, Section, R> StructuralEq for CieOrFde<'bases, Section, R> where
    R: Reader,
    Section: UnwindSection<R>, 
[src]

impl<'input, Endian> StructuralEq for EndianSlice<'input, Endian> where
    Endian: Endianity
[src]

impl<T> StructuralEq for DebugMacroOffset<T>[src]

impl StructuralEq for RunTimeEndian[src]

impl<T> StructuralEq for DebugAddrBase<T>[src]

impl<R> StructuralEq for EhFrameHdr<R> where
    R: Reader
[src]

impl<R, Offset> StructuralEq for IncompleteLineProgram<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl StructuralEq for DwCc[src]

impl<T> StructuralEq for DebugAbbrevOffset<T>[src]

impl StructuralEq for DwEhPe[src]

impl<R, Offset> StructuralEq for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl StructuralEq for BaseAddresses[src]

impl StructuralEq for Format[src]

impl<T> StructuralEq for DebugAddrIndex<T>[src]

impl<R> StructuralEq for UnwindTableRow<R> where
    R: Reader
[src]

impl StructuralEq for DwAddr[src]

impl<T> StructuralEq for DebugStrOffsetsIndex<T>[src]

impl<R> StructuralEq for LocationListEntry<R> where
    R: Reader
[src]

impl<R> StructuralEq for CfaRule<R> where
    R: Reader
[src]

impl<R, Offset> StructuralEq for AttributeValue<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R, Offset> StructuralEq for LineInstruction<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R> StructuralEq for EhFrame<R> where
    R: Reader
[src]

impl StructuralEq for DwDs[src]

impl StructuralEq for Augmentation[src]

impl<R, Offset> StructuralEq for FileEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R> StructuralEq for RegisterRule<R> where
    R: Reader
[src]

impl StructuralEq for BigEndian[src]

impl<R> StructuralEq for DebugFrame<R> where
    R: Reader
[src]

impl StructuralEq for DwInl[src]

impl<R, Offset> StructuralEq for LineProgramHeader<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl StructuralEq for DwAt[src]

impl<T> StructuralEq for ArangeEntry<T> where
    T: Copy
[src]

impl StructuralEq for DwDsc[src]

impl StructuralEq for DwAte[src]

impl<T> StructuralEq for DebugInfoOffset<T>[src]

impl<T> StructuralEq for DebugLocListsIndex<T>[src]

impl StructuralEq for Abbreviation[src]

impl<T> StructuralEq for DebugTypesOffset<T>[src]

impl<T> StructuralEq for DebugLineStrOffset<T>[src]

impl StructuralEq for ReaderOffsetId[src]

impl<R> StructuralEq for CallFrameInstruction<R> where
    R: Reader
[src]

impl<T> StructuralEq for DieReference<T>[src]

impl StructuralEq for ValueType[src]

impl<T> StructuralEq for RangeListsOffset<T>[src]

impl StructuralEq for DwLle[src]

impl StructuralEq for DwOrd[src]

impl<T> StructuralEq for LocationListsOffset<T>[src]

impl<T> StructuralEq for DebugRngListsBase<T>[src]

impl StructuralEq for DwarfFileType[src]

impl StructuralEq for AttributeSpecification[src]

impl StructuralEq for ComdatKind[src]

impl StructuralEq for SectionIndex[src]

impl StructuralEq for AddressSize[src]

impl StructuralEq for SymbolSection[src]

impl<'data> StructuralEq for Bytes<'data>[src]

impl<E> StructuralEq for U16Bytes<E> where
    E: Endian
[src]

impl StructuralEq for LittleEndian[src]

impl<E> StructuralEq for I32Bytes<E> where
    E: Endian
[src]

impl<Section> StructuralEq for SymbolFlags<Section>[src]

impl StructuralEq for SectionFlags[src]

impl StructuralEq for CompressionFormat[src]

impl StructuralEq for SymbolIndex[src]

impl StructuralEq for SymbolKind[src]

impl StructuralEq for SymbolScope[src]

impl<'data> StructuralEq for ObjectMapEntry<'data>[src]

impl<E> StructuralEq for I64Bytes<E> where
    E: Endian
[src]

impl StructuralEq for FileFlags[src]

impl StructuralEq for Endianness[src]

impl<'data> StructuralEq for Export<'data>[src]

impl StructuralEq for Architecture[src]

impl<E> StructuralEq for U32Bytes<E> where
    E: Endian
[src]

impl<'data> StructuralEq for Import<'data>[src]

impl<'data> StructuralEq for CompressedData<'data>[src]

impl StructuralEq for Error[src]

impl StructuralEq for RelocationEncoding[src]

impl<E> StructuralEq for U64Bytes<E> where
    E: Endian
[src]

impl<E> StructuralEq for I16Bytes<E> where
    E: Endian
[src]

impl StructuralEq for SectionKind[src]

impl StructuralEq for RelocationKind[src]

impl<'data> StructuralEq for SymbolMapName<'data>[src]

impl StructuralEq for BigEndian[src]

impl StructuralEq for BinaryFormat[src]

impl StructuralEq for ArchiveKind[src]

impl StructuralEq for RelocationTarget[src]

impl StructuralEq for TINFLStatus[src]

impl StructuralEq for TDEFLStatus[src]

impl StructuralEq for TDEFLFlush[src]

impl StructuralEq for CompressionStrategy[src]

impl StructuralEq for DataFormat[src]

impl StructuralEq for StreamResult[src]

impl StructuralEq for MZStatus[src]

impl StructuralEq for CompressionLevel[src]

impl StructuralEq for MZFlush[src]

impl StructuralEq for MZError[src]

impl StructuralEq for IsNormalized[src]

impl<D> StructuralEq for SharedSecret<D> where
    D: Digest
[src]

impl StructuralEq for Message[src]

impl StructuralEq for RecoveryId[src]

impl StructuralEq for PublicKey[src]

impl StructuralEq for Scalar[src]

impl StructuralEq for Affine[src]

impl StructuralEq for AffineStorage[src]

impl StructuralEq for Error[src]

impl StructuralEq for Jacobian[src]

impl StructuralEq for SecretKey[src]

impl StructuralEq for Signature[src]

impl StructuralEq for TryReserveError[src]

impl<T> StructuralEq for AllowStdIo<T>[src]

impl StructuralEq for Aborted[src]

impl<T> StructuralEq for TrySendError<T>[src]

impl StructuralEq for Canceled[src]

impl StructuralEq for SendError[src]

impl<T> StructuralEq for TrySendError<T>[src]

impl<T> StructuralEq for SendError<T>[src]

impl StructuralEq for Canceled[src]

impl StructuralEq for ExecutionStrategy[src]

impl StructuralEq for ExecutionError[src]

impl StructuralEq for Error[src]

impl StructuralEq for StorageProof[src]

impl<'a> StructuralEq for NodeHandle<'a>[src]

impl<T, E> StructuralEq for TrieError<T, E>[src]

impl StructuralEq for NibbleVec[src]

impl<D> StructuralEq for OwnedNode<D> where
    D: Borrow<[u8]>, 
[src]

impl<'a> StructuralEq for Node<'a>[src]

impl<HO, CE> StructuralEq for Error<HO, CE>[src]

impl<HO> StructuralEq for Record<HO>[src]

impl StructuralEq for NodeHandlePlan[src]

impl StructuralEq for NodePlan[src]

impl StructuralEq for NibbleSlicePlan[src]

impl StructuralEq for TryReserveError[src]

impl<T> StructuralEq for MemCounter<T>[src]

impl<T> StructuralEq for NoopTracker<T>[src]

impl StructuralEq for RuntimeMetadataV12[src]

impl StructuralEq for RuntimeMetadataDeprecated[src]

impl<Call, Extra> StructuralEq for TestXt<Call, Extra>[src]

impl StructuralEq for InvalidTransaction[src]

impl<AccountId, Call, Extra> StructuralEq for CheckedExtrinsic<AccountId, Call, Extra>[src]

impl StructuralEq for Era[src]

impl StructuralEq for MultiSignature[src]

impl StructuralEq for ChangesTrieSignal[src]

impl<Hash> StructuralEq for Digest<Hash>[src]

impl StructuralEq for RuntimeString[src]

impl<B> StructuralEq for BlockAndTimeDeadline<B> where
    B: BlockNumberProvider
[src]

impl<Info> StructuralEq for DispatchErrorWithPostInfo<Info> where
    Info: Eq + PartialEq<Info> + Clone + Copy + Encode + Decode + Printable
[src]

impl<Block> StructuralEq for SignedBlock<Block>[src]

impl<Xt> StructuralEq for Block<Xt>[src]

impl<'a> StructuralEq for OpaqueDigestItemId<'a>[src]

impl<'a, T> StructuralEq for Request<'a, T>[src]

impl StructuralEq for TestSignature[src]

impl StructuralEq for TransactionValidityError[src]

impl<'a, Hash> StructuralEq for DigestItemRef<'a, Hash> where
    Hash: 'a, 
[src]

impl StructuralEq for Headers[src]

impl<Xt> StructuralEq for ExtrinsicWrapper<Xt>[src]

impl<'a> StructuralEq for PiecewiseLinear<'a>[src]

impl StructuralEq for BlakeTwo256[src]

impl<Hash> StructuralEq for DigestItem<Hash>[src]

impl StructuralEq for MultiSigner[src]

impl<Address, Call, Signature, Extra> StructuralEq for UncheckedExtrinsic<Address, Call, Signature, Extra> where
    Extra: SignedExtension
[src]

impl StructuralEq for Method[src]

impl StructuralEq for ModuleId[src]

impl<Header, Extrinsic> StructuralEq for Block<Header, Extrinsic> where
    Extrinsic: MaybeSerialize
[src]

impl StructuralEq for ValidTransaction[src]

impl StructuralEq for PendingRequest[src]

impl StructuralEq for TransactionSource[src]

impl StructuralEq for AnySignature[src]

impl StructuralEq for OpaqueExtrinsic[src]

impl<Block> StructuralEq for BlockId<Block> where
    Block: Block
[src]

impl StructuralEq for Keccak256[src]

impl StructuralEq for Error[src]

impl<Number, Hash> StructuralEq for Header<Number, Hash> where
    Hash: Hash,
    Number: Into<U256> + TryFrom<U256> + Copy
[src]

impl StructuralEq for UintAuthorityId[src]

impl StructuralEq for UnknownTransaction[src]

impl StructuralEq for Public[src]

impl StructuralEq for Signature[src]

impl StructuralEq for Signature[src]

impl StructuralEq for Public[src]

impl StructuralEq for Signature[src]

impl StructuralEq for Public[src]

impl StructuralEq for FixedI64[src]

impl StructuralEq for Perquintill[src]

impl StructuralEq for PerU16[src]

impl StructuralEq for FixedU128[src]

impl StructuralEq for Rational128[src]

impl StructuralEq for Perbill[src]

impl StructuralEq for Percent[src]

impl StructuralEq for Permill[src]

impl StructuralEq for FixedI128[src]

Loading content...

Implementors

impl StructuralEq for DispatchError[src]

impl StructuralEq for Void[src]

impl StructuralEq for RuntimeMetadata[src]

impl StructuralEq for StorageEntryModifier[src]

impl StructuralEq for StorageEntryType[src]

impl StructuralEq for StorageHasher[src]

impl StructuralEq for ChildInfo[src]

impl StructuralEq for BalanceStatus[src]

impl StructuralEq for ExistenceRequirement[src]

impl StructuralEq for WithdrawReason[src]

impl StructuralEq for DispatchClass[src]

impl StructuralEq for Pays[src]

impl StructuralEq for frame_support::dispatch::fmt::Error1.0.0[src]

impl StructuralEq for PhantomPinned1.33.0[src]

impl StructuralEq for ErrorMetadata[src]

impl StructuralEq for FunctionArgumentMetadata[src]

impl StructuralEq for FunctionMetadata[src]

impl StructuralEq for ModuleConstantMetadata[src]

impl StructuralEq for EventMetadata[src]

impl StructuralEq for OuterEventMetadata[src]

impl StructuralEq for ExtrinsicMetadata[src]

impl StructuralEq for ModuleMetadata[src]

impl StructuralEq for RuntimeMetadataPrefixed[src]

impl StructuralEq for StorageEntryMetadata[src]

impl StructuralEq for StorageMetadata[src]

impl StructuralEq for CallMetadata[src]

impl StructuralEq for WithdrawReasons[src]

impl StructuralEq for DispatchInfo[src]

impl StructuralEq for PostDispatchInfo[src]

impl StructuralEq for RuntimeDbWeight[src]

impl<BlockNumber> StructuralEq for DispatchTime<BlockNumber>[src]

impl<E> StructuralEq for FnEncode<E> where
    E: Encode + 'static, 
[src]

impl<T> StructuralEq for PhantomData<T> where
    T: ?Sized
[src]

impl<T, E> StructuralEq for Result<T, E>1.0.0[src]

Loading content...