Sum

scala.deriving.Mirror.Sum
trait Sum extends Mirror

The Mirror for a sum type

Attributes

Source
Mirror.scala
Graph
Supertypes
trait Mirror
class Object
trait Matchable
class Any
Self type
Sum

Members list

Type members

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

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

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

Source
Mirror.scala