Sum (original) (raw)

scala.deriving.Mirror.Sum

The Mirror for a sum type

Attributes

Source

Mirror.scala

Graph

Supertypes

Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

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

Attributes

Source

Mirror.scala

In this article