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.

trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Types

override type MirroredMonoType <: Tuple

The mirrored *-type

The mirrored *-type

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

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.