Mirrors

ldbc.dsl.util.Mirrors
object Mirrors

Attributes

Source
Mirrors.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Mirrors.type

Members list

Type members

Types

type Extract[T] = T match { case Option[t] => Extract[t] case Array[t] => Extract[t] case List[t] => Extract[t] case Seq[t] => Extract[t] case Set[t] => Extract[t] case Any => T }

A type function to pull a type parameter it has from a type with one type parameter.

A type function to pull a type parameter it has from a type with one type parameter.

Attributes

Source
Mirrors.scala
type ExtractOption[T] = T match { case Option[t] => Extract[t] case Any => T }

A type function that derives its type from the type parameters that Option has.

A type function that derives its type from the type parameters that Option has.

Attributes

Source
Mirrors.scala

Value members

Concrete methods

inline def summonEnumCases[T <: Tuple, A](inline typeName: String): List[A]

Attributes

Source
Mirrors.scala
inline def summonLabels[T <: Tuple]: List[String]

Attributes

Source
Mirrors.scala