Show3

trait Show3[A1, A2, A3] extends ShowProduct with TypeStr3[A1, A2, A3]

Trait for Show for a product of 3 logical elements. This trait is implemented directly by the type in question, unlike the corresponding ShowEq3T trait which externally acts on an object of the specified type to create its String representations. For your own types it is better to inherit from Show3 and then use Show3ElemT or Persist3ElemT to create the type class instance for ShowT. The Show3ElemT or Persist3Elem class will delegate to Show3 for some of its methods. It is better to use Show3 to override toString method than delegating the toString override to a ShowEq3T instance.

trait TypeStr3[A1, A2, A3]
trait TypeStr2[A1, A2]
trait Show
trait TypeStr
class Any
trait ShowDec3[A1, A2, A3]
trait ShowDbl3
trait Vec3Like
class Pt3
class Vec3

Value members

Abstract methods

def show1: A1

Element 1 of this 3 element Show product.

Element 1 of this 3 element Show product.

def show2: A2

Element 2 of this 3 element Show product.

Element 2 of this 3 element Show product.

def show3: A3

Element 3 of this 3 element Show product.

Element 3 of this 3 element Show product.

def showT1: ShowT[A1]

The ShowT type class instance for the 1st element of this 3 element Show product.

The ShowT type class instance for the 1st element of this 3 element Show product.

def showT2: ShowT[A2]

The ShowT type class instance for the 2nd element of this 3 element Show product.

The ShowT type class instance for the 2nd element of this 3 element Show product.

def showT3: ShowT[A3]

The ShowT type class instance for the 3rd element of this 3 element Show product.

The ShowT type class instance for the 3rd element of this 3 element Show product.

Concrete methods

override def elemNames: Strings
Definition Classes
override def elemTypeNames: Strings
Definition Classes
override def opt1: Option[A1]
Definition Classes
override def opt2: Option[A2]
Definition Classes
override def opt3: Option[A3]
Definition Classes
override def showElemStrs(way: ShowStyle): Strings
Definition Classes

Inherited methods

def name1: String

1st parameter name.

1st parameter name.

Inherited from:
TypeStr2
def name2: String

2nd parameter name.

2nd parameter name.

Inherited from:
TypeStr2
def name3: String

3rd parameter name.

3rd parameter name.

Inherited from:
TypeStr3
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowProduct
def showSemisNames: String
Inherited from:
ShowProduct
override def str: String
Definition Classes
Inherited from:
ShowProduct
def syntaxDepth: Int
Inherited from:
Show
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show
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:
TypeStr