CanEqual

object CanEqual

Companion object containing a few universally known CanEqual 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.

Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

object derived extends CanEqual[Any, Any]

A universal CanEqual instance.

Inherited types

The names of the product elements

Inherited from
Mirror

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def canEqualAny[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 to CanEqual[T, U] queries if the rules of multiversal equality require it.

Concrete fields

Givens

Givens