Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/CanEqual

CanEqual

scala.CanEqual
See theCanEqual companion trait
objectCanEqual

Companion object containing a few universally knownCanEqual instances. CanEqual instances involving primitive types or the Null type are handled directly in the compiler (see Implicits.synthesizedCanEqual), so they are not included here.

Attributes

Companion
trait
Source
CanEqual.scala
Graph
Supertypes
traitSum
traitMirror
classObject
traitMatchable
classAny
Self type

Members list

Type members

Classlikes

objectderived extendsCanEqual[Any,Any]

A universalCanEqual instance.

A universalCanEqual instance.

Attributes

Source
CanEqual.scala
Supertypes
classObject
traitMatchable
classAny
Self type
derived.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

defcanEqualAny[L,R]:CanEqual[L,R]

A fall-back instance to compare values of any types. Even though this method is not declared as given, the compiler will synthesize implicit arguments as solutions toCanEqual[T, U] queries if the rules of multiversal equality require it.

A fall-back instance to compare values of any types. Even though this method is not declared as given, the compiler will synthesize implicit arguments as solutions toCanEqual[T, U] queries if the rules of multiversal equality require it.

Attributes

Source
CanEqual.scala

Givens

Givens

givencanEqualEither[L1,R1,L2,R2](usingeqL:CanEqual[L1,L2],eqR:CanEqual[R1,R2]):CanEqual[Either[L1,R1],Either[L2,R2]]

Attributes

Source
CanEqual.scala
givencanEqualMap[K1,V1,K2,V2](usingeqK:CanEqual[K1,K2],eqV:CanEqual[V1,V2]):CanEqual[Map[K1,V1],Map[K2,V2]]

Attributes

Source
CanEqual.scala
givencanEqualOption[T](usingeq:CanEqual[T,T]):CanEqual[Option[T],Option[T]]

Attributes

Source
CanEqual.scala
givencanEqualOptions[T,U](usingeq:CanEqual[T,U]):CanEqual[Option[T],Option[U]]

Attributes

Source
CanEqual.scala
givencanEqualSeq[T](usingeq:CanEqual[T,T]):CanEqual[Seq[T],Seq[T]]

Attributes

Source
CanEqual.scala
givencanEqualSeqs[T,U](usingeq:CanEqual[T,U]):CanEqual[Seq[T],Seq[U]]

Attributes

Source
CanEqual.scala
givencanEqualSet[T,U](usingeq:CanEqual[T,U]):CanEqual[Set[T],Set[U]]

Attributes

Source
CanEqual.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp