deriveEnum

oxygen.meta.K0.SumGeneric.EnumGeneric.deriveEnum
object deriveEnum

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
deriveEnum.type

Members list

Type members

Classlikes

Expects case object children, with more than 1 case class.

Expects case object children, with more than 1 case class.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

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 Object
trait Matchable
class 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 Object
trait Matchable
class 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 Object
trait Matchable
class Any
Self type
strictEnum.type