ShowSum2

abstract
class ShowSum2[ST <: AnyRef, A1 <: ST, A2 <: ST]()(implicit val ct1: ClassTag[A1], val ct2: ClassTag[A2]) extends ShowT[ST]

Show class for algebraic sum types. If you are using your own code then Show sum types handled by inheritance.

Companion
object
trait ShowT[ST]
class Object
trait Matchable
class Any
class PersistSum2[ST, A1, A2]

Value members

Abstract methods

def ev1: ShowT[A1]
def ev2: ShowT[A2]

Concrete methods

override
def showT(obj: ST, way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
override
def strT(obj: ST): String
Definition Classes
override
def syntaxDepthT(obj: ST): Int
Definition Classes

Inherited methods

def typeStr: String

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

Inherited from
PersistBase

Implicits

Implicits

implicit
val ct1: ClassTag[A1]
implicit
val ct2: ClassTag[A2]