EnumCase
zio.blocks.typeid.TypeDefKind.EnumCase
final case class EnumCase(parentEnum: TypeRepr, ordinal: Int, isObjectCase: Boolean) extends TypeDefKind
An individual enum case (when represented as its own type).
Value parameters
- isObjectCase
-
True for
case Red, false forcase RGB(...) - ordinal
-
The ordinal index of this case
- parentEnum
-
Reference to the parent enum type
Attributes
- Source
- TypeDefKind.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDefKindclass Objecttrait Matchableclass Any
Members list
In this article