IsElementOf

zio.constraintless.IsElementOf$
See theIsElementOf companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Head[A, As <: TypeList]() extends IsElementOf[A, A :: As]

Attributes

Graph
Supertypes
trait Product
trait Equals
trait IsElementOf[A, A :: As]
class Object
trait Matchable
class Any
final case class Tail[A, B, As <: TypeList](ev: IsElementOf[A, As]) extends IsElementOf[A, B :: As]

Attributes

Graph
Supertypes
trait Product
trait Equals
trait IsElementOf[A, B :: As]
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[A, As <: TypeList](implicit ev: IsElementOf[A, As]): IsElementOf[A, As]

Implicits

Implicits

implicit def isElementOfHead[A, As <: TypeList]: IsElementOf[A, A :: As]
implicit def isElementOfTail[A, B, As <: TypeList](implicit ev: IsElementOf[A, As]): IsElementOf[A, B :: As]