TupleMirror

final class TupleMirror(arity: Int) extends Product with Serializable

A concrete subclass of scala.deriving.Mirror.Product, enabling reduction of bytecode size. as we do not need to synthesize an anonymous Mirror class at every callsite.

Source:
TupleMirror.scala
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Types

override type MirroredMonoType <: Tuple

The mirrored *-type

The mirrored *-type

Source:
TupleMirror.scala

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

final def fromProduct(product: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Source:
TupleMirror.scala