magnolia1.SealedTrait
See theSealedTrait companion object
case class SealedTrait[Typeclass[_], Type](typeInfo: TypeInfo, subtypes: IArray[Subtype[Typeclass, Type, _]], annotations: IArray[Any], typeAnnotations: IArray[Any], isEnum: Boolean, inheritedAnnotations: IArray[Any]) extends Serializable
Represents a Sealed-Trait or a Scala 3 Enum.
In the terminology of Algebraic Data Types (ADTs), sealed-traits/enums are termed 'sum types'.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article