Sum
The Mirror for a sum type
- Source:
- Mirror.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Abstract methods
The ordinal number of the case class of x
.
The ordinal number of the case class of x
. For enums, ordinal(x) == x.ordinal
- Source:
- Mirror.scala