Trait cairo_vm::with_std::cmp::PartialEq

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

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

source§

impl PartialEq for Dictionary

source§

impl PartialEq for OffsetValue

source§

impl PartialEq for BuiltinName

source§

impl PartialEq for MathError

source§

impl PartialEq for ApUpdate

source§

impl PartialEq for FpUpdate

source§

impl PartialEq for Op1Addr

source§

impl PartialEq for Opcode

source§

impl PartialEq for PcUpdate

source§

impl PartialEq for Register

source§

impl PartialEq for Res

source§

impl PartialEq for LayoutName

source§

impl PartialEq for MaybeRelocatable

source§

impl PartialEq for CairoPieValidationError

source§

impl PartialEq for ExecScopeError

source§

impl PartialEq for InsufficientAllocatedCellsError

source§

impl PartialEq for MemoryError

source§

impl PartialEq for RunnerError

source§

impl PartialEq for TraceError

source§

impl PartialEq for BuiltinAdditionalData

source§

impl PartialEq for CairoArg

source§

impl PartialEq for RunnerMode

1.34.0 · source§

impl PartialEq for Infallible

1.28.0 · source§

impl PartialEq for cairo_vm::with_std::fmt::Alignment

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 cairo_vm::with_std::sync::atomic::Ordering

1.12.0 · source§

impl PartialEq for RecvTimeoutError

1.0.0 · source§

impl PartialEq for TryRecvError

1.0.0 · source§

impl PartialEq for cairo_vm::with_std::cmp::Ordering

source§

impl PartialEq for TryReserveErrorKind

source§

impl PartialEq for AsciiChar

1.7.0 · source§

impl PartialEq for IpAddr

source§

impl PartialEq for Ipv6MulticastScope

1.0.0 · source§

impl PartialEq for SocketAddr

1.65.0 · source§

impl PartialEq for BacktraceStatus

1.0.0 · source§

impl PartialEq for VarError

1.0.0 · source§

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

source§

impl PartialEq for _Unwind_Action

source§

impl PartialEq for _Unwind_Reason_Code

source§

impl PartialEq for ark_ff::fields::sqrt::LegendreSymbol

source§

impl PartialEq for Compress

source§

impl PartialEq for Validate

source§

impl PartialEq for ark_std::io::error::ErrorKind

source§

impl PartialEq for base64ct::errors::Error

source§

impl PartialEq for LineEnding

source§

impl PartialEq for AllowedEnumVariants

source§

impl PartialEq for IntegerType

source§

impl PartialEq for BigEndian

source§

impl PartialEq for LittleEndian

source§

impl PartialEq for Action

source§

impl PartialEq for bzip2::mem::Error

source§

impl PartialEq for bzip2::mem::Status

source§

impl PartialEq for FlushCompress

source§

impl PartialEq for FlushDecompress

source§

impl PartialEq for flate2::mem::Status

source§

impl PartialEq for hashbrown::TryReserveError

source§

impl PartialEq for FromHexError

source§

impl PartialEq for lambdaworks_math::elliptic_curve::short_weierstrass::point::Endianness

source§

impl PartialEq for PointFormat

source§

impl PartialEq for EllipticCurveError

source§

impl PartialEq for ByteConversionError

source§

impl PartialEq for CreationError

source§

impl PartialEq for DeserializationError

source§

impl PartialEq for PairingError

source§

impl PartialEq for lambdaworks_math::field::traits::LegendreSymbol

source§

impl PartialEq for CompressionStrategy

source§

impl PartialEq for TDEFLFlush

source§

impl PartialEq for TDEFLStatus

source§

impl PartialEq for CompressionLevel

source§

impl PartialEq for DataFormat

source§

impl PartialEq for MZError

source§

impl PartialEq for MZFlush

source§

impl PartialEq for MZStatus

source§

impl PartialEq for TINFLStatus

source§

impl PartialEq for nom::error::ErrorKind

source§

impl PartialEq for Needed

source§

impl PartialEq for nom::number::Endianness

source§

impl PartialEq for CompareResult

source§

impl PartialEq for Sign

source§

impl PartialEq for Primality

source§

impl PartialEq for Encoding

source§

impl PartialEq for password_hash::errors::Error

source§

impl PartialEq for InvalidValue

source§

impl PartialEq for Algorithm

source§

impl PartialEq for BernoulliError

source§

impl PartialEq for WeightedError

source§

impl PartialEq for IndexVec

source§

impl PartialEq for RoundingStrategy

source§

impl PartialEq for rust_decimal::error::Error

source§

impl PartialEq for Category

source§

impl PartialEq for serde_json::value::Value

source§

impl PartialEq for CurveError

source§

impl PartialEq for Month

source§

impl PartialEq for Weekday

source§

impl PartialEq for CompressionMethod

source§

impl PartialEq for CParameter

source§

impl PartialEq for ZSTD_EndDirective

source§

impl PartialEq for ZSTD_ResetDirective

source§

impl PartialEq for ZSTD_cParameter

source§

impl PartialEq for ZSTD_dParameter

source§

impl PartialEq for ZSTD_strategy

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 AirPrivateInput

source§

impl PartialEq for AirPrivateInputSerializable

source§

impl PartialEq for ModInput

source§

impl PartialEq for ModInputInstance

source§

impl PartialEq for ModInputMemoryVars

source§

impl PartialEq for PrivateInputEcOp

source§

impl PartialEq for PrivateInputKeccakState

source§

impl PartialEq for PrivateInputPair

source§

impl PartialEq for PrivateInputPoseidonState

source§

impl PartialEq for PrivateInputSignature

source§

impl PartialEq for PrivateInputValue

source§

impl PartialEq for SignatureInput

source§

impl PartialEq for MemorySegmentAddresses

source§

impl PartialEq for PublicMemoryEntry

source§

impl PartialEq for DictManager

source§

impl PartialEq for DictTracker

source§

impl PartialEq for HintReference

source§

impl PartialEq for ApTracking

source§

impl PartialEq for Attribute

source§

impl PartialEq for DebugInfo

source§

impl PartialEq for FlowTrackingData

source§

impl PartialEq for HintLocation

source§

impl PartialEq for HintParams

source§

impl PartialEq for Identifier

source§

impl PartialEq for InputFile

source§

impl PartialEq for InstructionLocation

source§

impl PartialEq for cairo_vm::serde::deserialize_program::Location

source§

impl PartialEq for Member

source§

impl PartialEq for Reference

source§

impl PartialEq for ReferenceManager

source§

impl PartialEq for ValueAddress

1.0.0 · source§

impl PartialEq for String

source§

impl PartialEq for Felt

source§

impl PartialEq for Instruction

source§

impl PartialEq for Program

source§

impl PartialEq for Relocatable

source§

impl PartialEq for OutputBuiltinState

source§

impl PartialEq for CairoPie

source§

impl PartialEq for CairoPieAdditionalData

source§

impl PartialEq for CairoPieMemory

source§

impl PartialEq for CairoPieMetadata

source§

impl PartialEq for CairoPieVersion

source§

impl PartialEq for OutputBuiltinAdditionalData

source§

impl PartialEq for PublicMemoryPage

source§

impl PartialEq for cairo_vm::vm::runners::cairo_pie::SegmentInfo

source§

impl PartialEq for StrippedProgram

source§

impl PartialEq for ExecutionResources

source§

impl PartialEq for RunResources

source§

impl PartialEq for cairo_vm::vm::runners::cairo_runner::SegmentInfo

source§

impl PartialEq for RelocatedTraceEntry

source§

impl PartialEq for TraceEntry

source§

impl PartialEq for Operands

source§

impl PartialEq for OperandsAddresses

source§

impl PartialEq for cairo_vm::with_std::alloc::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.0.0 · source§

impl PartialEq for cairo_vm::with_std::fmt::Error

1.33.0 · source§

impl PartialEq for PhantomPinned

source§

impl PartialEq for Assume

1.0.0 · source§

impl PartialEq for ParseFloatError

1.0.0 · source§

impl PartialEq for cairo_vm::with_std::num::ParseIntError

1.34.0 · source§

impl PartialEq for cairo_vm::with_std::num::TryFromIntError

1.0.0 · source§

impl PartialEq for RangeFull

source§

impl PartialEq for cairo_vm::with_std::ptr::Alignment

1.0.0 · source§

impl PartialEq for ParseBoolError

1.0.0 · source§

impl PartialEq for Utf8Error

1.0.0 · source§

impl PartialEq for FromUtf8Error

1.0.0 · source§

impl PartialEq for RecvError

1.5.0 · source§

impl PartialEq for WaitTimeoutResult

1.3.0 · source§

impl PartialEq for cairo_vm::with_std::time::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.34.0 · source§

impl PartialEq for CharTryFromError

1.20.0 · source§

impl PartialEq for ParseCharError

1.9.0 · source§

impl PartialEq for DecodeUtf16Error

1.59.0 · source§

impl PartialEq for TryFromCharError

1.27.0 · source§

impl PartialEq for CpuidResult

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 Ipv4Addr

1.0.0 · source§

impl PartialEq for Ipv6Addr

1.0.0 · source§

impl PartialEq for AddrParseError

1.0.0 · source§

impl PartialEq for SocketAddrV4

1.0.0 · source§

impl PartialEq for SocketAddrV6

1.36.0 · source§

impl PartialEq for RawWaker

1.36.0 · source§

impl PartialEq for RawWakerVTable

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

impl PartialEq for ExitStatus

source§

impl PartialEq for ExitStatusError

1.0.0 · source§

impl PartialEq for std::process::Output

1.26.0 · source§

impl PartialEq for AccessError

1.19.0 · source§

impl PartialEq for ThreadId

1.8.0 · source§

impl PartialEq for std::time::Instant

1.8.0 · source§

impl PartialEq for SystemTime

source§

impl PartialEq for allocator_api2::stable::alloc::AllocError

source§

impl PartialEq for EmptyFlags

source§

impl PartialEq for Base64Bcrypt

source§

impl PartialEq for Base64Crypt

source§

impl PartialEq for Base64ShaCrypt

source§

impl PartialEq for Base64

source§

impl PartialEq for Base64Unpadded

source§

impl PartialEq for Base64Url

source§

impl PartialEq for Base64UrlUnpadded

source§

impl PartialEq for InvalidEncodingError

source§

impl PartialEq for InvalidLengthError

source§

impl PartialEq for Lsb0

source§

impl PartialEq for Msb0

source§

impl PartialEq for block_buffer::Error

source§

impl PartialEq for Limb

source§

impl PartialEq for Reciprocal

source§

impl PartialEq for InvalidLength

source§

impl PartialEq for deranged::ParseIntError

source§

impl PartialEq for deranged::TryFromIntError

source§

impl PartialEq for MacError

source§

impl PartialEq for InvalidBufferSize

source§

impl PartialEq for GzHeader

source§

impl PartialEq for Compression

source§

impl PartialEq for getrandom::error::Error

source§

impl PartialEq for MontgomeryConfigBabybear31PrimeField

source§

impl PartialEq for MontgomeryConfigU64GoldilocksPrimeField

source§

impl PartialEq for MontgomeryConfigMersenne31PrimeField

source§

impl PartialEq for Mersenne31Field

source§

impl PartialEq for P448GoldilocksPrimeField

source§

impl PartialEq for U56x8

source§

impl PartialEq for MontgomeryConfigPallas255PrimeField

source§

impl PartialEq for Goldilocks64Field

source§

impl PartialEq for MontgomeryConfigVesta255PrimeField

source§

impl PartialEq for StreamResult

source§

impl PartialEq for num_bigint::bigint::BigInt

source§

impl PartialEq for BigUint

source§

impl PartialEq for ParseBigIntError

source§

impl PartialEq for udouble

source§

impl PartialEq for password_hash::output::Output

source§

impl PartialEq for ParamsString

source§

impl PartialEq for SaltString

source§

impl PartialEq for Params

source§

impl PartialEq for Pbkdf2

source§

impl PartialEq for Bernoulli

source§

impl PartialEq for StepRng

source§

impl PartialEq for SmallRng

source§

impl PartialEq for StdRng

source§

impl PartialEq for ChaCha8Core

source§

impl PartialEq for ChaCha8Rng

source§

impl PartialEq for ChaCha12Core

source§

impl PartialEq for ChaCha12Rng

source§

impl PartialEq for ChaCha20Core

source§

impl PartialEq for ChaCha20Rng

source§

impl PartialEq for Decimal

source§

impl PartialEq for IgnoredAny

source§

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

source§

impl PartialEq for Map<String, Value>

source§

impl PartialEq for Number

source§

impl PartialEq for starknet_curve::ec_point::AffinePoint

source§

impl PartialEq for starknet_curve::ec_point::ProjectivePoint

source§

impl PartialEq for starknet_ff::FieldElement

source§

impl PartialEq for starknet_types_core::curve::affine_point::AffinePoint

source§

impl PartialEq for starknet_types_core::curve::projective_point::ProjectivePoint

source§

impl PartialEq for NonZeroFelt

source§

impl PartialEq for Date

source§

impl PartialEq for time::duration::Duration

source§

impl PartialEq for ComponentRange

source§

impl PartialEq for ConversionRange

source§

impl PartialEq for DifferentVariant

source§

impl PartialEq for InvalidVariant

source§

impl PartialEq for time::instant::Instant

source§

impl PartialEq for OffsetDateTime

source§

impl PartialEq for PrimitiveDateTime

source§

impl PartialEq for Time

source§

impl PartialEq for UtcOffset

source§

impl PartialEq for ATerm

source§

impl PartialEq for B0

source§

impl PartialEq for B1

source§

impl PartialEq for Z0

source§

impl PartialEq for Equal

source§

impl PartialEq for Greater

source§

impl PartialEq for Less

source§

impl PartialEq for UTerm

source§

impl PartialEq for Const

source§

impl PartialEq for Mut

source§

impl PartialEq for NullPtrError

source§

impl PartialEq for vec128_storage

source§

impl PartialEq for vec256_storage

source§

impl PartialEq for vec512_storage

source§

impl PartialEq<&str> for serde_json::value::Value

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<Value> for &str

source§

impl PartialEq<Value> for bool

source§

impl PartialEq<Value> for f32

source§

impl PartialEq<Value> for f64

source§

impl PartialEq<Value> for i8

source§

impl PartialEq<Value> for i16

source§

impl PartialEq<Value> for i32

source§

impl PartialEq<Value> for i64

source§

impl PartialEq<Value> for isize

source§

impl PartialEq<Value> for str

source§

impl PartialEq<Value> for u8

source§

impl PartialEq<Value> for u16

source§

impl PartialEq<Value> for u32

source§

impl PartialEq<Value> for u64

source§

impl PartialEq<Value> for usize

source§

impl PartialEq<Value> for String

source§

impl PartialEq<bool> for serde_json::value::Value

source§

impl PartialEq<f32> for serde_json::value::Value

source§

impl PartialEq<f64> for serde_json::value::Value

source§

impl PartialEq<i8> for serde_json::value::Value

source§

impl PartialEq<i16> for serde_json::value::Value

source§

impl PartialEq<i32> for serde_json::value::Value

source§

impl PartialEq<i64> for serde_json::value::Value

source§

impl PartialEq<isize> for serde_json::value::Value

source§

impl PartialEq<str> for serde_json::value::Value

1.0.0 · source§

impl PartialEq<str> for OsStr

1.0.0 · source§

impl PartialEq<str> for OsString

source§

impl PartialEq<u8> for serde_json::value::Value

source§

impl PartialEq<u16> for serde_json::value::Value

source§

impl PartialEq<u32> for serde_json::value::Value

source§

impl PartialEq<u64> for serde_json::value::Value

source§

impl PartialEq<usize> for serde_json::value::Value

source§

impl PartialEq<String> for serde_json::value::Value

source§

impl PartialEq<Duration> for time::duration::Duration

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<Instant> for time::instant::Instant

source§

impl PartialEq<SystemTime> for OffsetDateTime

source§

impl PartialEq<Duration> for cairo_vm::with_std::time::Duration

source§

impl PartialEq<Instant> for std::time::Instant

source§

impl PartialEq<OffsetDateTime> for SystemTime

1.0.0 · source§

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

1.0.0 · source§

impl<'a> PartialEq for Prefix<'a>

source§

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

1.79.0 · source§

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

1.10.0 · source§

impl<'a> PartialEq for core::panic::location::Location<'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 Ident<'a>

source§

impl<'a> PartialEq for Salt<'a>

source§

impl<'a> PartialEq for PasswordHash<'a>

source§

impl<'a> PartialEq for password_hash::value::Value<'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

source§

impl<'a> PartialEq<bool> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<bool> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<f32> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<f32> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<f64> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<f64> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<i8> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<i8> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<i16> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<i16> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<i32> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<i32> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<i64> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<i64> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<isize> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<isize> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<u8> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<u8> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<u16> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<u16> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<u32> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<u32> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<u64> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<u64> for &'a mut serde_json::value::Value

source§

impl<'a> PartialEq<usize> for &'a serde_json::value::Value

source§

impl<'a> PartialEq<usize> for &'a mut serde_json::value::Value

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<'a, T, O> PartialEq for IterOnes<'a, T, O>
where T: PartialEq + 'a + BitStore, O: PartialEq + BitOrder,

source§

impl<'a, T, O> PartialEq for IterZeros<'a, T, O>
where T: PartialEq + 'a + BitStore, O: PartialEq + BitOrder,

source§

impl<A> PartialEq for ExtendedGcd<A>
where A: PartialEq,

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, O, Rhs> PartialEq<Rhs> for BitArray<A, O>
where A: BitViewSized, O: BitOrder, BitSlice<<A as BitView>::Store, O>: PartialEq<Rhs>, Rhs: ?Sized,

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 Err<E>
where E: PartialEq,

source§

impl<E> PartialEq for EdwardsProjectivePoint<E>
where E: IsEllipticCurve,

source§

impl<E> PartialEq for MontgomeryProjectivePoint<E>
where E: IsEllipticCurve,

source§

impl<E> PartialEq for lambdaworks_math::elliptic_curve::point::ProjectivePoint<E>
where E: IsEllipticCurve,

source§

impl<E> PartialEq for ShortWeierstrassProjectivePoint<E>
where E: IsEllipticCurve,

source§

impl<F> PartialEq for lambdaworks_math::field::element::FieldElement<F>
where F: IsField,

Equality operator overloading for field elements

source§

impl<F> PartialEq for DenseMultilinearPolynomial<F>
where F: PartialEq + IsField, <F as IsField>::BaseType: Send + Sync,

1.4.0 · source§

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

source§

impl<F, T> PartialEq for CubicExtensionField<F, T>
where F: PartialEq, T: PartialEq,

source§

impl<F, T> PartialEq for QuadraticExtensionField<F, T>

source§

impl<FE> PartialEq for Polynomial<FE>
where FE: PartialEq,

source§

impl<G1Point, G2Point> PartialEq for StructuredReferenceString<G1Point, G2Point>
where G1Point: PartialEq, G2Point: PartialEq,

1.29.0 · source§

impl<H> PartialEq for BuildHasherDefault<H>

source§

impl<I> PartialEq for nom::error::Error<I>
where I: PartialEq,

1.0.0 · source§

impl<Idx> PartialEq for cairo_vm::with_std::ops::Range<Idx>
where Idx: PartialEq,

1.0.0 · source§

impl<Idx> PartialEq for cairo_vm::with_std::ops::RangeFrom<Idx>
where Idx: PartialEq,

1.26.0 · source§

impl<Idx> PartialEq for cairo_vm::with_std::ops::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<Idx> PartialEq for core::range::Range<Idx>
where Idx: PartialEq,

source§

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

source§

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

source§

impl<Inner> PartialEq for Frozen<Inner>
where Inner: PartialEq + Mutability,

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 cairo_vm::with_std::collections::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<L, R> PartialEq for Either<L, R>
where L: PartialEq, R: PartialEq,

source§

impl<M1, M2, O1, O2, T1, T2> PartialEq<BitRef<'_, M2, T2, O2>> for BitRef<'_, M1, T1, O1>
where M1: Mutability, M2: Mutability, T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<M1, M2, O, T1, T2> PartialEq<BitPtrRange<M2, T2, O>> for BitPtrRange<M1, T1, O>
where M1: Mutability, M2: Mutability, O: BitOrder, T1: BitStore, T2: BitStore,

source§

impl<M1, M2, T1, T2> PartialEq<Address<M2, T2>> for Address<M1, T1>
where M1: Mutability, M2: Mutability,

source§

impl<M1, M2, T1, T2, O> PartialEq<BitPtr<M2, T2, O>> for BitPtr<M1, T1, O>
where M1: Mutability, M2: Mutability, T1: BitStore, T2: BitStore, O: BitOrder,

source§

impl<M, T, O> PartialEq<&bool> for BitRef<'_, M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

source§

impl<M, T, O> PartialEq<bool> for BitRef<'_, M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

source§

impl<M, T, O> PartialEq<BitRef<'_, M, T, O>> for &bool
where M: Mutability, T: BitStore, O: BitOrder,

source§

impl<M, T, O> PartialEq<BitRef<'_, M, T, O>> for bool
where M: Mutability, T: BitStore, O: BitOrder,

source§

impl<MOD, const LIMBS: usize> PartialEq for Residue<MOD, LIMBS>
where MOD: PartialEq + ResidueParams<LIMBS>,

source§

impl<O1, A, O2, T> PartialEq<BitArray<A, O2>> for BitSlice<T, O1>
where O1: BitOrder, O2: BitOrder, A: BitViewSized, T: BitStore,

source§

impl<O1, O2, T1, T2> PartialEq<BitBox<T2, O2>> for &BitSlice<T1, O1>
where O1: BitOrder, O2: BitOrder, T1: BitStore, T2: BitStore,

source§

impl<O1, O2, T1, T2> PartialEq<BitBox<T2, O2>> for &mut BitSlice<T1, O1>
where O1: BitOrder, O2: BitOrder, T1: BitStore, T2: BitStore,

source§

impl<O1, O2, T1, T2> PartialEq<BitBox<T2, O2>> for BitSlice<T1, O1>
where O1: BitOrder, O2: BitOrder, T1: BitStore, T2: BitStore,

source§

impl<P> PartialEq for CubicExtField<P>
where P: CubicExtConfig,

source§

impl<P> PartialEq for QuadExtField<P>
where P: QuadExtConfig,

source§

impl<P, const N: usize> PartialEq for Fp<P, N>
where P: FpConfig<N>,

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 BitEnd<R>

source§

impl<R> PartialEq for BitIdx<R>

source§

impl<R> PartialEq for BitIdxError<R>

source§

impl<R> PartialEq for BitMask<R>

source§

impl<R> PartialEq for BitPos<R>

source§

impl<R> PartialEq for BitSel<R>

source§

impl<T1, T2, O1, O2> PartialEq<&BitSlice<T2, O2>> for BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<&mut BitSlice<T2, O2>> for BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<BitSlice<T2, O2>> for &BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<BitSlice<T2, O2>> for &mut BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<BitSlice<T2, O2>> for BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

Tests if two BitSlices are semantically — not representationally — equal.

It is valid to compare slices of different ordering or memory types.

The equality condition requires that they have the same length and that at each index, the two slices have the same bit value.

Original

source§

impl<T1, T2, O1, O2> PartialEq<BitVec<T2, O2>> for &BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<BitVec<T2, O2>> for &mut BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

source§

impl<T1, T2, O1, O2> PartialEq<BitVec<T2, O2>> for BitSlice<T1, O1>
where T1: BitStore, T2: BitStore, O1: BitOrder, O2: BitOrder,

1.17.0 · source§

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

1.0.0 · source§

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

1.0.0 · source§

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

1.36.0 · source§

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

source§

impl<T> PartialEq for BitPtrError<T>
where T: PartialEq + BitStore,

source§

impl<T> PartialEq for BitSpanError<T>
where T: PartialEq + BitStore,

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.

1.19.0 · source§

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

1.0.0 · source§

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

1.70.0 · source§

impl<T> PartialEq for cairo_vm::with_std::cell::OnceCell<T>
where T: PartialEq,

1.0.0 · source§

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

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 cairo_vm::with_std::num::NonZero<T>

1.74.0 · source§

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

1.0.0 · source§

impl<T> PartialEq for cairo_vm::with_std::num::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 SendError<T>
where T: PartialEq,

1.70.0 · source§

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

1.0.0 · source§

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

source§

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

source§

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

source§

impl<T> PartialEq for crypto_bigint::non_zero::NonZero<T>
where T: PartialEq + Zero,

source§

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

source§

impl<T> PartialEq for CtOutput<T>
where T: OutputSizeUser,

source§

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

source§

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

source§

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

1.0.0 · source§

impl<T, A> PartialEq for cairo_vm::stdlib::prelude::Box<T, A>
where T: PartialEq + ?Sized, 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,

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,

source§

impl<T, A> PartialEq for allocator_api2::stable::boxed::Box<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, N> PartialEq for GenericArray<T, N>
where T: PartialEq, N: ArrayLength<T>,

source§

impl<T, O, Rhs> PartialEq<Rhs> for BitBox<T, O>
where T: BitStore, O: BitOrder, Rhs: PartialEq<BitSlice<T, O>> + ?Sized,

source§

impl<T, O, Rhs> PartialEq<Rhs> for BitVec<T, O>
where T: BitStore, O: BitOrder, Rhs: PartialEq<BitSlice<T, O>> + ?Sized,

source§

impl<T, R> PartialEq for ReducedInt<T, R>
where T: PartialEq, R: Reducer<T>,

source§

impl<T, R> PartialEq for Mint<T, R>
where T: Integer + Clone, R: Reducer<T>,

1.0.0 · source§

impl<T, S> PartialEq for cairo_vm::with_std::collections::HashSet<T, S>
where T: Eq + Hash, S: BuildHasher,

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

source§

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

1.0.0 · source§

impl<T, U, A> PartialEq<&[U]> for cairo_vm::stdlib::prelude::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>,

source§

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

1.0.0 · source§

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

1.17.0 · source§

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

source§

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

1.48.0 · source§

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

source§

impl<T, U, A> PartialEq<[U]> for allocator_api2::stable::vec::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>,

source§

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

source§

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

source§

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

source§

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

1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<&[U; N]> for cairo_vm::stdlib::prelude::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>,

source§

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

1.17.0 · source§

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

1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for cairo_vm::stdlib::prelude::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>,

source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for allocator_api2::stable::vec::Vec<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 CAP: usize> PartialEq for ArrayVec<T, CAP>
where T: PartialEq,

source§

impl<T, const CAP: usize> PartialEq<[T]> for ArrayVec<T, CAP>
where T: PartialEq,

source§

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

source§

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

source§

impl<U> PartialEq for NInt<U>
where U: PartialEq + Unsigned + NonZero,

source§

impl<U> PartialEq for PInt<U>
where U: PartialEq + Unsigned + NonZero,

source§

impl<U, B> PartialEq for UInt<U, B>
where U: PartialEq, B: PartialEq,

source§

impl<V, A> PartialEq for TArr<V, A>
where V: PartialEq, A: PartialEq,

source§

impl<X> PartialEq for Uniform<X>

source§

impl<X> PartialEq for UniformFloat<X>
where X: PartialEq,

source§

impl<X> PartialEq for UniformInt<X>
where X: PartialEq,

source§

impl<X> PartialEq for WeightedIndex<X>

source§

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

source§

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

source§

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

source§

impl<const CAP: usize> PartialEq<str> for ArrayString<CAP>

source§

impl<const CAP: usize> PartialEq<ArrayString<CAP>> for str

source§

impl<const LEFT_SIZE: usize, const RIGHT_SIZE: usize> PartialEq<WriteBuffer<RIGHT_SIZE>> for WriteBuffer<LEFT_SIZE>

source§

impl<const LIMBS: usize> PartialEq for DynResidue<LIMBS>

source§

impl<const LIMBS: usize> PartialEq for DynResidueParams<LIMBS>

source§

impl<const LIMBS: usize> PartialEq for Uint<LIMBS>

source§

impl<const MIN_A: i8, const MAX_A: i8, const MIN_B: i8, const MAX_B: i8> PartialEq<OptionRangedI8<MIN_B, MAX_B>> for OptionRangedI8<MIN_A, MAX_A>

source§

impl<const MIN_A: i8, const MAX_A: i8, const MIN_B: i8, const MAX_B: i8> PartialEq<RangedI8<MIN_B, MAX_B>> for RangedI8<MIN_A, MAX_A>

source§

impl<const MIN_A: i16, const MAX_A: i16, const MIN_B: i16, const MAX_B: i16> PartialEq<OptionRangedI16<MIN_B, MAX_B>> for OptionRangedI16<MIN_A, MAX_A>

source§

impl<const MIN_A: i16, const MAX_A: i16, const MIN_B: i16, const MAX_B: i16> PartialEq<RangedI16<MIN_B, MAX_B>> for RangedI16<MIN_A, MAX_A>

source§

impl<const MIN_A: i32, const MAX_A: i32, const MIN_B: i32, const MAX_B: i32> PartialEq<OptionRangedI32<MIN_B, MAX_B>> for OptionRangedI32<MIN_A, MAX_A>

source§

impl<const MIN_A: i32, const MAX_A: i32, const MIN_B: i32, const MAX_B: i32> PartialEq<RangedI32<MIN_B, MAX_B>> for RangedI32<MIN_A, MAX_A>

source§

impl<const MIN_A: i64, const MAX_A: i64, const MIN_B: i64, const MAX_B: i64> PartialEq<OptionRangedI64<MIN_B, MAX_B>> for OptionRangedI64<MIN_A, MAX_A>

source§

impl<const MIN_A: i64, const MAX_A: i64, const MIN_B: i64, const MAX_B: i64> PartialEq<RangedI64<MIN_B, MAX_B>> for RangedI64<MIN_A, MAX_A>

source§

impl<const MIN_A: i128, const MAX_A: i128, const MIN_B: i128, const MAX_B: i128> PartialEq<OptionRangedI128<MIN_B, MAX_B>> for OptionRangedI128<MIN_A, MAX_A>

source§

impl<const MIN_A: i128, const MAX_A: i128, const MIN_B: i128, const MAX_B: i128> PartialEq<RangedI128<MIN_B, MAX_B>> for RangedI128<MIN_A, MAX_A>

source§

impl<const MIN_A: isize, const MAX_A: isize, const MIN_B: isize, const MAX_B: isize> PartialEq<OptionRangedIsize<MIN_B, MAX_B>> for OptionRangedIsize<MIN_A, MAX_A>

source§

impl<const MIN_A: isize, const MAX_A: isize, const MIN_B: isize, const MAX_B: isize> PartialEq<RangedIsize<MIN_B, MAX_B>> for RangedIsize<MIN_A, MAX_A>

source§

impl<const MIN_A: u8, const MAX_A: u8, const MIN_B: u8, const MAX_B: u8> PartialEq<OptionRangedU8<MIN_B, MAX_B>> for OptionRangedU8<MIN_A, MAX_A>

source§

impl<const MIN_A: u8, const MAX_A: u8, const MIN_B: u8, const MAX_B: u8> PartialEq<RangedU8<MIN_B, MAX_B>> for RangedU8<MIN_A, MAX_A>

source§

impl<const MIN_A: u16, const MAX_A: u16, const MIN_B: u16, const MAX_B: u16> PartialEq<OptionRangedU16<MIN_B, MAX_B>> for OptionRangedU16<MIN_A, MAX_A>

source§

impl<const MIN_A: u16, const MAX_A: u16, const MIN_B: u16, const MAX_B: u16> PartialEq<RangedU16<MIN_B, MAX_B>> for RangedU16<MIN_A, MAX_A>

source§

impl<const MIN_A: u32, const MAX_A: u32, const MIN_B: u32, const MAX_B: u32> PartialEq<OptionRangedU32<MIN_B, MAX_B>> for OptionRangedU32<MIN_A, MAX_A>

source§

impl<const MIN_A: u32, const MAX_A: u32, const MIN_B: u32, const MAX_B: u32> PartialEq<RangedU32<MIN_B, MAX_B>> for RangedU32<MIN_A, MAX_A>

source§

impl<const MIN_A: u64, const MAX_A: u64, const MIN_B: u64, const MAX_B: u64> PartialEq<OptionRangedU64<MIN_B, MAX_B>> for OptionRangedU64<MIN_A, MAX_A>

source§

impl<const MIN_A: u64, const MAX_A: u64, const MIN_B: u64, const MAX_B: u64> PartialEq<RangedU64<MIN_B, MAX_B>> for RangedU64<MIN_A, MAX_A>

source§

impl<const MIN_A: u128, const MAX_A: u128, const MIN_B: u128, const MAX_B: u128> PartialEq<OptionRangedU128<MIN_B, MAX_B>> for OptionRangedU128<MIN_A, MAX_A>

source§

impl<const MIN_A: u128, const MAX_A: u128, const MIN_B: u128, const MAX_B: u128> PartialEq<RangedU128<MIN_B, MAX_B>> for RangedU128<MIN_A, MAX_A>

source§

impl<const MIN_A: usize, const MAX_A: usize, const MIN_B: usize, const MAX_B: usize> PartialEq<OptionRangedUsize<MIN_B, MAX_B>> for OptionRangedUsize<MIN_A, MAX_A>

source§

impl<const MIN_A: usize, const MAX_A: usize, const MIN_B: usize, const MAX_B: usize> PartialEq<RangedUsize<MIN_B, MAX_B>> for RangedUsize<MIN_A, MAX_A>

source§

impl<const MODULUS: u32> PartialEq for U32Field<MODULUS>

source§

impl<const MODULUS: u64> PartialEq for U64PrimeField<MODULUS>

source§

impl<const MODULUS: u64> PartialEq for U64Field<MODULUS>

source§

impl<const N: usize> PartialEq for ark_ff::biginteger::BigInt<N>

source§

impl<const NUM_LIMBS: usize> PartialEq for UnsignedInteger<NUM_LIMBS>