deriveEnum
oxygen.meta.K0.SumGeneric.EnumGeneric.deriveEnum
object deriveEnum
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
deriveEnum.type
Members list
Type members
Classlikes
object ignoreManyCaseClasses
Expects case object children, with more than 1 case class.
Expects case object children, with more than 1 case class.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
object ignoreSingleCaseClass
Expects all case object children, except exactly 1 case class. Useful for an enum with a representation for Other(_).
Expects all case object children, except exactly 1 case class. Useful for an enum with a representation for Other(_).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
object lax
Expects case object children, and does not care about the number of case class children.
Expects case object children, and does not care about the number of case class children.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
lax.type
object strictEnum
Expects a strict enum, all case object children.
Expects a strict enum, all case object children.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
strictEnum.type
In this article