← ZIO Constraintless docs

IsElementOf

zio.constraintless.IsElementOf
See theIsElementOf companion trait
object IsElementOf

Attributes

Companion
trait
Source
IsElementOf.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

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

Attributes

Source
IsElementOf.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait IsElementOf[A, A :: As]
class Object
trait Matchable
class Any
Show all
final case class Tail[A, B, As <: TypeList](ev: IsElementOf[A, As]) extends IsElementOf[A, B :: As]

Attributes

Source
IsElementOf.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait IsElementOf[A, B :: As]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

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

Attributes

Source
IsElementOf.scala

Implicits

Implicits

implicit def IsElementOfHead[A, As <: TypeList]: IsElementOf[A, A :: As]

Attributes

Source
IsElementOf.scala
implicit def IsElementOfTail[A, B, As <: TypeList](implicit ev: IsElementOf[A, As]): IsElementOf[A, B :: As]

Attributes

Source
IsElementOf.scala