scala.deriving.Mirror.Sum
The Mirror for a sum type.
Attributes
- Source
-
Mirror.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
The names of the product elements.
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