Sum

trait Sum extends Mirror

The Mirror for a sum type

The Mirror for a sum type

trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

The names of the product elements

The names of the product elements

Inherited from
Mirror

The name of the type

The name of the type

Inherited from
Mirror

The mirrored *-type

The mirrored *-type

Inherited from
Mirror

Value members

Abstract methods

The ordinal number of the case class of x.

The ordinal number of the case class of x. For enums, ordinal(x) == x.ordinal