scala.deriving.Mirror$
See theMirror companion trait
object Mirror
Attributes
- Companion
- trait
- Source
- Mirror.scala
- Graph
-
- Supertypes
- Self type
-
Mirror.type
Members list
Type members
Classlikes
The Mirror for a product type
class SingletonProxy(val value: AnyRef) extends Product
Extensions
Experimental 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
.
Attributes
- Experimental
- true
- Source
- Mirror.scala
Create a new instance of type T
with elements taken from tuple t
.
In this article