Sum

scala.deriving.Mirror$.Sum
trait Sum extends Mirror

The Mirror for a sum type

Attributes

Graph
Supertypes
trait Mirror
class Object
trait Matchable
class Any
Self type
Sum

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Mirror

Value members

Abstract methods

The ordinal number of the case class of x. For enums, ordinal(x) == x.ordinal

The ordinal number of the case class of x. For enums, ordinal(x) == x.ordinal

Attributes