Sum

trait Sum extends Mirror

The Mirror for a sum type

Source:
Mirror.scala
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
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

The mirrored *-type

The mirrored *-type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Abstract methods

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

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

Source:
Mirror.scala