made.MadeElem
See theMadeElem companion object
Base type for elements within a Made.Elems tuple.
Each element in the Made.Elems tuple is a subtype of MadeElem, carrying the element's type, label, and annotation metadata. The concrete subtype depends on the mirror kind:
- MadeFieldElem - constructor parameters in product mirrors
- MadeSubElem - non-singleton subtypes in sum mirrors
- MadeSubSingletonElem - singleton subtypes in sum mirrors
- GeneratedMadeElem -
@generatedmembers (inGeneratedElems)
Attributes
- See also
- Example
-
import made.* case class User(name: String, age: Int) val mirror = Made.derived[User] val (nameFld, ageFld) = mirror.elems // nameFld: MadeFieldElem { type Type = String; type Label = "name" } // ageFld: MadeFieldElem { type Type = Int; type Label = "age" } - Companion
- object
- Graph
-
- Supertypes
- Known subtypes
Members list
In this article