On this page
Trait Mirror.Sum
The Mirror for a sum type
| Supertypes | |
|---|---|
| Self type |
Inherited types
Source
type MirroredElemLabels <: Tuple
The names of the product elements
| Inherited from | Mirror |
|---|
Source
type MirroredLabel <: String
The name of the type
| Inherited from | Mirror |
|---|
Source
type MirroredMonoType
The mirrored *-type
| Inherited from | Mirror |
|---|
Abstract methods
Source
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