MadeSubSingletonElem

made.MadeSubSingletonElem
See theMadeSubSingletonElem companion object
sealed trait MadeSubSingletonElem extends MadeSubElem

Element representing a singleton subtype in a sum type mirror.

Extends MadeSubElem. Used in Made.Sum.Elems for case objects and parameterless enum cases. Provides access to the singleton instance via the value method.

Attributes

See also
Companion
object
Graph
Supertypes
trait MadeSubElem
trait MadeElem
class Object
trait Matchable
class Any

Members list

Type members

Inherited and Abstract types

type Label <: String

The element's label (field name or subtype name, or the override provided by @name).

The element's label (field name or subtype name, or the override provided by @name).

Attributes

Inherited from:
MadeElem
type Metadata <: Meta

Annotation metadata on T, represented as an AnnotatedType chain wrapping the Meta base type. When no MetaAnnotation annotations are present, Metadata = Meta. When annotations are present, Metadata becomes Meta @Ann1 @Ann2 .... Query at runtime via hasAnnotation and getAnnotation.

Annotation metadata on T, represented as an AnnotatedType chain wrapping the Meta base type. When no MetaAnnotation annotations are present, Metadata = Meta. When annotations are present, Metadata becomes Meta @Ann1 @Ann2 .... Query at runtime via hasAnnotation and getAnnotation.

Attributes

Inherited from:
MadeElem
type Type

The element's type (field type or subtype).

The element's type (field type or subtype).

Attributes

Inherited from:
MadeElem

Value members

Abstract methods

def value: Type

Returns the singleton instance.

Returns the singleton instance.

Attributes