Opaque.Companion

abstract class Companion[A <: Opaque] extends Given.TypeTag[A] with Given.DocTag[A] with Given.VoidTag[A]

Base type for all Opaque companion objects.

This class cannot be used directly, but rather through it's children like Int.Custom.Type, Char.Custom.Data, etc.

Source
Companion.scala
trait Given.VoidTag[A]
trait Given.DocTag[A]
class Given.TypeTag[A]
class java.lang.Object
trait scala.Matchable
class Any
class Ref.Custom.Type[A, Ref.Custom.Type.BASE]
class Fx.Abstract.Delegate.Opaque[Fx.Abstract.Delegate.Opaque.TYPE, Fx.Abstract.Delegate.Opaque.BASE]
object Fx.Insets
object Fx.Image
object Fx.Paint
object J.File
object J.Url
object J.Path
object J.Input
object J.Output
class Ref.Custom.Data[A, Ref.Custom.Data.BASE]
object BigDecimal
object BigInteger
class Ref.Custom.Data.Ordered[A, Ref.Custom.Data.Ordered.BASE]
object Fx.Style
object Percent
object J.Priority
object Day
object Month
object Week
object Year
object Time.Gmt
object Time
object DayTime
object ByteCount

Def

def doc(v: A): Doc

Type to Doc

Type to Doc

Override this method to provide type custom Doc implementation

Source
Companion.scala
def isVoid(v: A): Boolean

Void check

Void check

Override this method to define which instances of this type are void

By default this method always returns false

If type supports void instances, then following inmpelentation should be added in most cases:

 implicit inline def implicitRequest(inline v: \/) : <type> = <return void>
Source
Companion.scala
def tag(v: A): String

Type to String

Type to String

Override this method to provide type custom convertion to String

Source
Companion.scala
def typeName: String

Type name

Type name

Inherited from
TypeTag
Source
TypeTag.scala