scala / 3.1 / scala / deriving / mirror$.html

Object scala.deriving.Mirror

object Mirror

Supertypes
Self type

Classlikes

Source
trait Product extends Mirror

The Mirror for a product type

Source
trait Singleton extends Product

Source
class SingletonProxy(val value: AnyRef) extends Product

A proxy for Scala 2 singletons, which do not inherit Singleton directly

Source
trait Sum extends Mirror

The Mirror for a sum type

Types

Source
type Of[T] = Mirror { type MirroredType = T; type MirroredMonoType = T; type MirroredElemTypes <: Tuple; }

Source
type ProductOf[T] = Product { type MirroredType = T; type MirroredMonoType = T; type MirroredElemTypes <: Tuple; }

Source
type SumOf[T] = Sum { type MirroredType = T; type MirroredMonoType = T; type MirroredElemTypes <: Tuple; }

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/deriving/Mirror$.html