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
Concise view
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] with Serializable
Attributes
- SType
the type of the subtype, eg 'Diamonds' or 'Clubs'
- Type
the type of the Sealed Trait or Scala 3 Enum, eg 'Suit'
- Graph
- Supertypes
- trait Serializabletrait PartialFunction[Type, SType & Type]trait Type => SType & Typeclass Objecttrait Matchableclass Any
Attributes
- Graph
- 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]