object Mirror
- Companion:
- class
- Source:
- Mirror.scala
Type members
Classlikes
The Mirror for a product type
The Mirror for a product type
- Source:
- Mirror.scala
A proxy for Scala 2 singletons, which do not inherit Singleton
directly
A proxy for Scala 2 singletons, which do not inherit Singleton
directly
- Source:
- Mirror.scala
Extensions
Extensions
extension [T](p: ProductOf[T])
def fromProductTyped[A <: Product, Elems <: <none>](a: A)(using m: ProductOf[A] { type MirroredElemTypes = Elems; }): T
Create a new instance of type T
with elements taken from product a
.
Create a new instance of type T
with elements taken from product a
.
- Source:
- Mirror.scala
Create a new instance of type T
with elements taken from tuple t
.
Create a new instance of type T
with elements taken from tuple t
.
- Source:
- Mirror.scala