Enum

zio.blocks.typeid.TypeDefKind.Enum
final case class Enum(bases: List[TypeRepr] = ...) extends TypeDefKind

A Scala 3 enum definition.

Value parameters

bases

Parent traits this enum extends

Attributes

Source
TypeDefKind.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeDefKind
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def baseTypes: List[TypeRepr]

The base types (parent classes/traits) of this type definition.

The base types (parent classes/traits) of this type definition.

Attributes

Definition Classes
Source
TypeDefKind.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala