SizeSpec

object SizeSpec
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object Default extends SizeSpec
case class Exactly(value: Int) extends SizeSpec
case class OneOf(possibilities: IndexedSeq[Int]) extends SizeSpec

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Implicits

Implicits

implicit def autoFromInt(i: Int): SizeSpec
implicit def autoFromOption[A](o: Option[A])(implicit ev: A => SizeSpec): SizeSpec
implicit def autoFromSeq(possibilities: IndexedSeq[Int]): SizeSpec
implicit def default: SizeSpec