TupleMirror

scala.runtime.TupleMirror
final class TupleMirror(arity: Int) extends Product, 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.

Attributes

Source
TupleMirror.scala
Graph
Supertypes
trait Serializable
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type MirroredMonoType <: Tuple

The mirrored *-type

The mirrored *-type

Attributes

Source
TupleMirror.scala

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

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.

Attributes

Source
TupleMirror.scala