Any.Def.Doc

trait Doc[-A] extends Any.Def.Tag[A]

A given Any.Def.Doc instance for a specific type determines how instance documentation is created.

Usually there is no need to create Any.Def.Doc, because it is implicitly created for standard opaque types. Reference types can mix Able.Doc instead.

Defining Any.Def.Doc is usefull for third-party existing types, one has no control over.

Source
Doc.scala
trait Any.Def.Tag[Any.Def.Doc.A]
class java.lang.Object
trait scala.Matchable
class Any

Def

def value_doc(v: A): Doc

Instance Doc

Instance Doc

Returns Doc describing provided value

Source
Doc.scala
def value_tag(v: A): String

Instance tag

Instance tag

Returns String tag describing provided value

Inherited from
Tag
Source
Tag.scala