cogen

io.github.martinhh.derived.extras.union.cogen
object cogen extends UnionCogens

Public "API-entry-point" for derivation of Cogen-instances only for union types.

Attributes

Graph
Supertypes
trait UnionCogens
class Object
trait Matchable
class Any
Self type
cogen.type

Members list

Givens

Inherited givens

transparent inline given cogenUnion[X](using inline utc: UnionTypedCogens[X]): Cogen[X]

Attributes

Inherited from:
UnionCogens
transparent inline given unionTypedCogensMacro[X]: UnionTypedCogens[X]

Attributes

Inherited from:
UnionCogens