The Mirror for a sum type
| Supertypes | |
|---|---|
| Self type |
The names of the product elements
| Inherited from | Mirror |
|---|
The name of the type
| Inherited from | Mirror |
|---|
The mirrored *-type
| Inherited from | Mirror |
|---|
The ordinal number of the case class of x. For enums, ordinal(x) == x.ordinal
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/deriving/Mirror$$Sum.html