magnolia1.SealedTrait
See theSealedTrait companion class
object SealedTrait
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SealedTrait.type
Members list
Type members
Classlikes
class Subtype[Typeclass[_], Type, SType](val typeInfo: TypeInfo, val annotations: IArray[Any], val inheritedAnnotations: IArray[Any], val typeAnnotations: IArray[Any], val isObject: Boolean, val index: Int, callByNeed: CallByNeed[Typeclass[SType]], isType: Type => Boolean, asType: Type => SType & Type) extends PartialFunction[Type, SType & Type], Serializable
Type parameters
- SType
-
the type of the subtype, eg 'Diamonds' or 'Clubs'
- Type
-
the type of the Sealed Trait or Scala 3 Enum, eg 'Suit'
Attributes
- Supertypes
-
trait Serializabletrait PartialFunction[Type, SType & Type]trait Type => SType & Typeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply[Typeclass[_], Type](typeInfo: TypeInfo, subtypes: IArray[Subtype[Typeclass, Type, _]], annotations: IArray[Any], typeAnnotations: IArray[Any], isEnum: Boolean): SealedTrait[Typeclass, Type]
In this article