Trait Eq

1.0.0 · Source
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 implies b == a and a != b implies !(a == b)
  • transitive: a == b and b == c implies a == 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 derived, 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§

Source§

impl Eq for TryReserveErrorKind

Source§

impl Eq for AsciiChar

1.0.0 · Source§

impl Eq for core::cmp::Ordering

1.34.0 · Source§

impl Eq for Infallible

1.64.0 · Source§

impl Eq for FromBytesWithNulError

1.28.0 · Source§

impl Eq for core::fmt::Alignment

Source§

impl Eq for DebugAsHex

Source§

impl Eq for Sign

Source§

impl Eq for AtomicOrdering

1.7.0 · Source§

impl Eq for IpAddr

Source§

impl Eq for Ipv6MulticastScope

1.0.0 · Source§

impl Eq for SocketAddr

1.0.0 · Source§

impl Eq for FpCategory

1.55.0 · Source§

impl Eq for IntErrorKind

1.86.0 · Source§

impl Eq for GetDisjointMutError

1.0.0 · Source§

impl Eq for core::sync::atomic::Ordering

1.65.0 · Source§

impl Eq for BacktraceStatus

1.0.0 · Source§

impl Eq for VarError

1.0.0 · Source§

impl Eq for SeekFrom

1.0.0 · Source§

impl Eq for std::io::error::ErrorKind

1.0.0 · Source§

impl Eq for Shutdown

Source§

impl Eq for BacktraceStyle

1.12.0 · Source§

impl Eq for RecvTimeoutError

1.0.0 · Source§

impl Eq for TryRecvError

Source§

impl Eq for arbitrary::error::Error

Source§

impl Eq for base64::alphabet::ParseAlphabetError

Source§

impl Eq for base64::alphabet::ParseAlphabetError

Source§

impl Eq for base64::decode::DecodeError

Source§

impl Eq for base64::decode::DecodeError

Source§

impl Eq for base64::decode::DecodeSliceError

Source§

impl Eq for base64::decode::DecodeSliceError

Source§

impl Eq for base64::encode::EncodeSliceError

Source§

impl Eq for base64::encode::EncodeSliceError

Source§

impl Eq for base64::engine::DecodePaddingMode

Source§

impl Eq for base64::engine::DecodePaddingMode

Source§

impl Eq for borsh::nostd_io::ErrorKind

Source§

impl Eq for byte_slice_cast::Error

Source§

impl Eq for cosmos_sdk_proto::cosmos::gov::v1::ProposalStatus

Source§

impl Eq for cosmos_sdk_proto::cosmos::gov::v1::VoteOption

Source§

impl Eq for cosmos_sdk_proto::cosmos::gov::v1beta1::ProposalStatus

Source§

impl Eq for cosmos_sdk_proto::cosmos::gov::v1beta1::VoteOption

Source§

impl Eq for AuthorizationType

Source§

impl Eq for BondStatus

Source§

impl Eq for Infraction

Source§

impl Eq for SignMode

Source§

impl Eq for BroadcastMode

Source§

impl Eq for OrderBy

Source§

impl Eq for ibc_proto::ibc::applications::interchain_accounts::v1::Type

Source§

impl Eq for Order

Source§

impl Eq for ResponseResultType

Source§

impl Eq for ibc_proto::ibc::core::channel::v1::State

Source§

impl Eq for ibc_proto::ibc::core::connection::v1::State

Source§

impl Eq for ConsumerPhase

Source§

impl Eq for ConsumerPacketDataType

Source§

impl Eq for InfractionType

Source§

impl Eq for HashOp

Source§

impl Eq for LengthOp

Source§

impl Eq for MetaForm

Source§

impl Eq for PortableForm

Source§

impl Eq for TypeDefPrimitive

Source§

impl Eq for PathError

Source§

impl Eq for InstanceType

Source§

impl Eq for Category

Source§

impl Eq for Value

Source§

impl Eq for subtle_encoding::error::Error

Source§

impl Eq for tendermint_proto::tendermint::v0_34::abci::CheckTxType

Source§

impl Eq for EvidenceType

Source§

impl Eq for tendermint_proto::tendermint::v0_34::abci::response_apply_snapshot_chunk::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_34::abci::response_offer_snapshot::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_34::privval::Errors

Source§

impl Eq for tendermint_proto::tendermint::v0_34::types::BlockIdFlag

Source§

impl Eq for tendermint_proto::tendermint::v0_34::types::SignedMsgType

Source§

impl Eq for tendermint_proto::tendermint::v0_37::abci::CheckTxType

Source§

impl Eq for tendermint_proto::tendermint::v0_37::abci::MisbehaviorType

Source§

impl Eq for tendermint_proto::tendermint::v0_37::abci::response_apply_snapshot_chunk::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_37::abci::response_offer_snapshot::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_37::abci::response_process_proposal::ProposalStatus

Source§

impl Eq for tendermint_proto::tendermint::v0_37::privval::Errors

Source§

impl Eq for tendermint_proto::tendermint::v0_37::types::BlockIdFlag

Source§

impl Eq for tendermint_proto::tendermint::v0_37::types::SignedMsgType

Source§

impl Eq for tendermint_proto::tendermint::v0_38::abci::CheckTxType

Source§

impl Eq for tendermint_proto::tendermint::v0_38::abci::MisbehaviorType

Source§

impl Eq for tendermint_proto::tendermint::v0_38::abci::response_apply_snapshot_chunk::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_38::abci::response_offer_snapshot::Result

Source§

impl Eq for tendermint_proto::tendermint::v0_38::abci::response_process_proposal::ProposalStatus

Source§

impl Eq for VerifyStatus

Source§

impl Eq for tendermint_proto::tendermint::v0_38::privval::Errors

Source§

impl Eq for tendermint_proto::tendermint::v0_38::types::BlockIdFlag

Source§

impl Eq for tendermint_proto::tendermint::v0_38::types::SignedMsgType

Source§

impl Eq for InvalidFormatDescription

Source§

impl Eq for Parse

Source§

impl Eq for ParseFromDescription

Source§

impl Eq for TryFromParsed

Source§

impl Eq for time::format_description::component::Component

Source§

impl Eq for MonthRepr

Source§

impl Eq for Padding

Source§

impl Eq for SubsecondDigits

Source§

impl Eq for UnixTimestampPrecision

Source§

impl Eq for WeekNumberRepr

Source§

impl Eq for WeekdayRepr

Source§

impl Eq for YearRepr

Source§

impl Eq for OwnedFormatItem

Source§

impl Eq for DateKind

Source§

impl Eq for FormattedComponents

Source§

impl Eq for OffsetPrecision

Source§

impl Eq for TimePrecision

Source§

impl Eq for time::month::Month

Source§

impl Eq for time::weekday::Weekday

Source§

impl Eq for SearchStep

1.0.0 · Source§

impl Eq for bool

1.0.0 · Source§

impl Eq for char

1.0.0 · Source§

impl Eq for i8

1.0.0 · Source§

impl Eq for i16

1.0.0 · Source§

impl Eq for i32

1.0.0 · Source§

impl Eq for i64

1.0.0 · Source§

impl Eq for i128

1.0.0 · Source§

impl Eq for isize

Source§

impl Eq for !

1.0.0 · Source§

impl Eq for str

1.0.0 · Source§

impl Eq for u8

1.0.0 · Source§

impl Eq for u16

1.0.0 · Source§

impl Eq for u32

1.0.0 · Source§

impl Eq for u64

1.0.0 · Source§

impl Eq for u128

1.0.0 · Source§

impl Eq for ()

1.0.0 · Source§

impl Eq for usize

Source§

impl Eq for Any

Source§

impl Eq for ibc_primitives::proto::Duration

Source§

impl Eq for ibc_primitives::proto::Timestamp

Implements the unstable/naive version of Eq: a basic equality check on the internal fields of the Timestamp. This implies that normalized_ts != non_normalized_ts even if normalized_ts == non_normalized_ts.normalized().

Source§

impl Eq for Signer

Source§

impl Eq for ibc_primitives::Timestamp

Source§

impl Eq for ByteString

Source§

impl Eq for UnorderedKeyError

1.57.0 · Source§

impl Eq for TryReserveError

1.64.0 · Source§

impl Eq for CString

1.64.0 · Source§

impl Eq for FromVecWithNulError

1.64.0 · Source§

impl Eq for IntoStringError

1.64.0 · Source§

impl Eq for NulError

1.0.0 · Source§

impl Eq for FromUtf8Error

1.28.0 · Source§

impl Eq for Layout

1.50.0 · Source§

impl Eq for LayoutError

Source§

impl Eq for AllocError

1.0.0 · Source§

impl Eq for TypeId

Source§

impl Eq for ByteStr

1.34.0 · Source§

impl Eq for CharTryFromError

1.20.0 · Source§

impl Eq for ParseCharError

1.9.0 · Source§

impl Eq for DecodeUtf16Error

1.59.0 · Source§

impl Eq for TryFromCharError

1.27.0 · Source§

impl Eq for CpuidResult

1.64.0 · Source§

impl Eq for CStr

1.69.0 · Source§

impl Eq for FromBytesUntilNulError

1.0.0 · Source§

impl Eq for core::fmt::Error

Source§

impl Eq for FormattingOptions

1.33.0 · Source§

impl Eq for PhantomPinned

Source§

impl Eq for Assume

1.0.0 · Source§

impl Eq for Ipv4Addr

1.0.0 · Source§

impl Eq for Ipv6Addr

1.0.0 · Source§

impl Eq for AddrParseError

1.0.0 · Source§

impl Eq for SocketAddrV4

1.0.0 · Source§

impl Eq for SocketAddrV6

1.0.0 · Source§

impl Eq for ParseFloatError

1.0.0 · Source§

impl Eq for core::num::error::ParseIntError

1.34.0 · Source§

impl Eq for core::num::error::TryFromIntError

1.0.0 · Source§

impl Eq for RangeFull

Source§

impl Eq for core::ptr::alignment::Alignment

1.3.0 · Source§

impl Eq for core::time::Duration

1.66.0 · Source§

impl Eq for TryFromFloatSecsError

1.0.0 · Source§

impl Eq for OsStr

1.0.0 · Source§

impl Eq for OsString

1.1.0 · Source§

impl Eq for FileType

1.0.0 · Source§

impl Eq for Permissions

Source§

impl Eq for UCred

1.0.0 · Source§

impl Eq for Components<'_>

1.0.0 · Source§

impl Eq for std::path::Path

1.0.0 · Source§

impl Eq for PathBuf

1.7.0 · Source§

impl Eq for StripPrefixError

1.0.0 · Source§

impl Eq for ExitStatus

Source§

impl Eq for ExitStatusError

1.0.0 · Source§

impl Eq for Output

1.0.0 · Source§

impl Eq for RecvError

1.5.0 · Source§

impl Eq for WaitTimeoutResult

1.26.0 · Source§

impl Eq for AccessError

1.19.0 · Source§

impl Eq for ThreadId

1.8.0 · Source§

impl Eq for Instant

1.8.0 · Source§

impl Eq for SystemTime

Source§

impl Eq for base64::alphabet::Alphabet

Source§

impl Eq for base64::alphabet::Alphabet

Source§

impl Eq for base64::engine::DecodeMetadata

Source§

impl Eq for base64::engine::DecodeMetadata

Source§

impl Eq for Bytes

Source§

impl Eq for BytesMut

Source§

impl Eq for TryGetError

Source§

impl Eq for SplicedStr

Source§

impl Eq for deranged::ParseIntError

Source§

impl Eq for deranged::TryFromIntError

Source§

impl Eq for Height

Source§

impl Eq for OptionBool

Source§

impl Eq for parity_scale_codec::error::Error

Source§

impl Eq for prost::error::DecodeError

Source§

impl Eq for EncodeError

Source§

impl Eq for UnknownEnumValue

Source§

impl Eq for MetaType

Source§

impl Eq for PortableRegistry

Source§

impl Eq for PortableType

Source§

impl Eq for Registry

Source§

impl Eq for Map<String, Value>

Source§

impl Eq for Number

Source§

impl Eq for Base64

Source§

impl Eq for Hex

Source§

impl Eq for Identity

Source§

impl Eq for Date

Source§

impl Eq for time::duration::Duration

Source§

impl Eq for ComponentRange

Source§

impl Eq for ConversionRange

Source§

impl Eq for DifferentVariant

Source§

impl Eq for InvalidVariant

Source§

impl Eq for Day

Source§

impl Eq for End

Source§

impl Eq for Hour

Source§

impl Eq for Ignore

Source§

impl Eq for Minute

Source§

impl Eq for time::format_description::modifier::Month

Source§

impl Eq for OffsetHour

Source§

impl Eq for OffsetMinute

Source§

impl Eq for OffsetSecond

Source§

impl Eq for Ordinal

Source§

impl Eq for Period

Source§

impl Eq for Second

Source§

impl Eq for Subsecond

Source§

impl Eq for UnixTimestamp

Source§

impl Eq for WeekNumber

Source§

impl Eq for time::format_description::modifier::Weekday

Source§

impl Eq for Year

Source§

impl Eq for Rfc2822

Source§

impl Eq for Rfc3339

Source§

impl Eq for OffsetDateTime

Source§

impl Eq for PrimitiveDateTime

Source§

impl Eq for Time

Source§

impl Eq for UtcOffset

1.0.0 · Source§

impl Eq for ParseBoolError

1.0.0 · Source§

impl Eq for Utf8Error

1.0.0 · Source§

impl Eq for String

1.0.0 · Source§

impl<'a> Eq for std::path::Component<'a>

1.0.0 · Source§

impl<'a> Eq for Prefix<'a>

Source§

impl<'a> Eq for BorrowedFormatItem<'a>

Source§

impl<'a> Eq for Utf8Pattern<'a>

Source§

impl<'a> Eq for PhantomContravariantLifetime<'a>

Source§

impl<'a> Eq for PhantomCovariantLifetime<'a>

Source§

impl<'a> Eq for PhantomInvariantLifetime<'a>

1.10.0 · Source§

impl<'a> Eq for Location<'a>

1.0.0 · Source§

impl<'a> Eq for PrefixComponent<'a>

1.79.0 · Source§

impl<'a> Eq for Utf8Chunk<'a>

Source§

impl<'a, T> Eq for CompactRef<'a, T>
where T: Eq,

Source§

impl<'a, T> Eq for Symbol<'a, T>
where T: Eq + 'a,

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

impl<B> Eq for Cow<'_, B>
where B: Eq + ToOwned + ?Sized,

1.55.0 · Source§

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

Source§

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

1.4.0 · Source§

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

1.29.0 · Source§

impl<H> Eq for BuildHasherDefault<H>

1.0.0 · Source§

impl<Idx> Eq for core::ops::range::Range<Idx>
where Idx: Eq,

1.0.0 · Source§

impl<Idx> Eq for core::ops::range::RangeFrom<Idx>
where Idx: Eq,

1.26.0 · Source§

impl<Idx> Eq for core::ops::range::RangeInclusive<Idx>
where Idx: Eq,

1.0.0 · Source§

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

1.26.0 · Source§

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

Source§

impl<Idx> Eq for core::range::Range<Idx>
where Idx: Eq,

Source§

impl<Idx> Eq for core::range::RangeFrom<Idx>
where Idx: Eq,

Source§

impl<Idx> Eq for core::range::RangeInclusive<Idx>
where Idx: Eq,

1.0.0 · Source§

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

1.0.0 · Source§

impl<K, V, S> Eq for HashMap<K, V, S>
where K: Eq + Hash, V: Eq, S: BuildHasher,

1.41.0 · Source§

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

1.0.0 · Source§

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

1.17.0 · Source§

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

1.36.0 · Source§

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

Source§

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

1.0.0 · Source§

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

Source§

impl<T> Eq for TypeDef<T>
where T: Eq + Form,

Source§

impl<T> Eq for SingleOrVec<T>
where T: Eq,

1.0.0 · Source§

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

Pointer equality is an equivalence relation.

1.0.0 · Source§

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

Pointer equality is an equivalence relation.

1.0.0 · Source§

impl<T> Eq for [T]
where T: Eq,

1.0.0 · Source§

impl<T> Eq for (T₁, T₂, …, Tₙ)
where T: Eq,

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

1.70.0 · Source§

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

1.2.0 · Source§

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

1.2.0 · Source§

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

1.19.0 · Source§

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

1.0.0 · Source§

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

Source§

impl<T> Eq for PhantomContravariant<T>
where T: ?Sized,

Source§

impl<T> Eq for PhantomCovariant<T>
where T: ?Sized,

Source§

impl<T> Eq for PhantomInvariant<T>
where T: ?Sized,

1.20.0 · Source§

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

1.21.0 · Source§

impl<T> Eq for Discriminant<T>

1.28.0 · Source§

impl<T> Eq for NonZero<T>
where T: ZeroablePrimitive + Eq,

1.74.0 · Source§

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

1.0.0 · Source§

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

1.25.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.70.0 · Source§

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

Source§

impl<T> Eq for CapacityError<T>
where T: Eq,

Source§

impl<T> Eq for Compact<T>
where T: Eq,

Source§

impl<T> Eq for Interner<T>
where T: Eq,

Source§

impl<T> Eq for UntrackedSymbol<T>
where T: Eq,

Source§

impl<T> Eq for TypeDefComposite<T>
where T: Eq + Form,

Source§

impl<T> Eq for Field<T>
where T: Eq + Form, <T as Form>::String: Eq, <T as Form>::Type: Eq,

Source§

impl<T> Eq for scale_info::ty::path::Path<T>
where T: Eq + Form, <T as Form>::String: Eq,

Source§

impl<T> Eq for scale_info::ty::Type<T>
where T: Eq + Form, <T as Form>::String: Eq,

Source§

impl<T> Eq for TypeDefArray<T>
where T: Eq + Form, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeDefBitSequence<T>
where T: Eq + Form, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeDefCompact<T>
where T: Eq + Form, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeDefSequence<T>
where T: Eq + Form, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeDefTuple<T>
where T: Eq + Form, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeParameter<T>
where T: Eq + Form, <T as Form>::String: Eq, <T as Form>::Type: Eq,

Source§

impl<T> Eq for TypeDefVariant<T>
where T: Eq + Form,

Source§

impl<T> Eq for Variant<T>
where T: Eq + Form, <T as Form>::String: Eq,

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

impl<T, A> Eq for UniqueRc<T, A>
where T: Eq + ?Sized, A: Allocator,

1.0.0 · Source§

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

Source§

impl<T, A> Eq for UniqueArc<T, A>
where T: Eq + ?Sized, A: Allocator,

1.0.0 · Source§

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

1.0.0 · Source§

impl<T, A> Eq for Vec<T, A>
where T: Eq, A: Allocator,

1.0.0 · Source§

impl<T, E> Eq for ibc_primitives::prelude::Result<T, E>
where T: Eq, E: Eq,

1.0.0 · Source§

impl<T, S> Eq for HashSet<T, S>
where T: Eq + Hash, S: BuildHasher,

Source§

impl<T, const CAP: usize> Eq for ArrayVec<T, CAP>
where T: Eq,

1.0.0 · Source§

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

Source§

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

Source§

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

Source§

impl<Z> Eq for Zeroizing<Z>
where Z: Eq + Zeroize,

Source§

impl<const CAP: usize> Eq for ArrayString<CAP>

Source§

impl<const CONFIG: u128> Eq for Iso8601<CONFIG>

Source§

impl<const MIN: i8, const MAX: i8> Eq for OptionRangedI8<MIN, MAX>

Source§

impl<const MIN: i8, const MAX: i8> Eq for RangedI8<MIN, MAX>

Source§

impl<const MIN: i16, const MAX: i16> Eq for OptionRangedI16<MIN, MAX>

Source§

impl<const MIN: i16, const MAX: i16> Eq for RangedI16<MIN, MAX>

Source§

impl<const MIN: i32, const MAX: i32> Eq for OptionRangedI32<MIN, MAX>

Source§

impl<const MIN: i32, const MAX: i32> Eq for RangedI32<MIN, MAX>

Source§

impl<const MIN: i64, const MAX: i64> Eq for OptionRangedI64<MIN, MAX>

Source§

impl<const MIN: i64, const MAX: i64> Eq for RangedI64<MIN, MAX>

Source§

impl<const MIN: i128, const MAX: i128> Eq for OptionRangedI128<MIN, MAX>

Source§

impl<const MIN: i128, const MAX: i128> Eq for RangedI128<MIN, MAX>

Source§

impl<const MIN: isize, const MAX: isize> Eq for OptionRangedIsize<MIN, MAX>

Source§

impl<const MIN: isize, const MAX: isize> Eq for RangedIsize<MIN, MAX>

Source§

impl<const MIN: u8, const MAX: u8> Eq for OptionRangedU8<MIN, MAX>

Source§

impl<const MIN: u8, const MAX: u8> Eq for RangedU8<MIN, MAX>

Source§

impl<const MIN: u16, const MAX: u16> Eq for OptionRangedU16<MIN, MAX>

Source§

impl<const MIN: u16, const MAX: u16> Eq for RangedU16<MIN, MAX>

Source§

impl<const MIN: u32, const MAX: u32> Eq for OptionRangedU32<MIN, MAX>

Source§

impl<const MIN: u32, const MAX: u32> Eq for RangedU32<MIN, MAX>

Source§

impl<const MIN: u64, const MAX: u64> Eq for OptionRangedU64<MIN, MAX>

Source§

impl<const MIN: u64, const MAX: u64> Eq for RangedU64<MIN, MAX>

Source§

impl<const MIN: u128, const MAX: u128> Eq for OptionRangedU128<MIN, MAX>

Source§

impl<const MIN: u128, const MAX: u128> Eq for RangedU128<MIN, MAX>

Source§

impl<const MIN: usize, const MAX: usize> Eq for OptionRangedUsize<MIN, MAX>

Source§

impl<const MIN: usize, const MAX: usize> Eq for RangedUsize<MIN, MAX>

Source§

impl<const SIZE: usize> Eq for WriteBuffer<SIZE>