AutoProduct

mill.api.Mirrors.AutoProduct
final class AutoProduct[T, L <: String, Ns <: Tuple, Ts <: Tuple](from: Product => T) extends Product

Attributes

Source
Mirrors.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any

Members list

Type members

Types

type MirroredElemLabels = Ns

The names of the product elements

The names of the product elements

Attributes

Source
Mirrors.scala
type MirroredElemTypes = Ts

Attributes

Source
Mirrors.scala
type MirroredLabel = L

The name of the type

The name of the type

Attributes

Source
Mirrors.scala
type MirroredMonoType = T

The mirrored *-type

The mirrored *-type

Attributes

Source
Mirrors.scala
type MirroredType = T

Attributes

Source
Mirrors.scala

Value members

Concrete methods

override def fromProduct(p: Product): T

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

Definition Classes
Product
Source
Mirrors.scala