Show2

trait Show2[A1, A2] extends ShowProductDec with TypeStr2[A1, A2]

Trait for ShowDec for a product of 2 logical elements. This trait is implemented directly by the type in question, unlike the corresponding Show2T 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 Show2 and then use ShowShow2T or Persist2ElemT to create the type class instance for ShowT. The ShowShow2T or PersistShow2 class will delegate to Show2 for some of its methods. It is better to use Show2 to override toString method than delegating the toString override to a Show2T instance.

trait TypeStr2[A1, A2]
trait ShowDec
trait Show
trait TypeStr
class Any
trait ShowDbl2
class PtM2
trait Vec2Like
class Pt2
class Vec2
trait length2M
class Vec2M
class LatLong
class Cood
trait TileCoord
trait TileCen
class HCen
class SqCen
trait TileSide
class HSide
class SqSide
trait TileVert
trait HCoord
trait HNotVert
class HVert
trait SqCoord
class SqVert
class HexParrX
class HexParrY
class HexRegImp
class LineSeg
class Sqlign
class HGridView

Value members

Abstract methods

def show1: A1

Element 1 of this Show 2 element product.

Element 1 of this Show 2 element product.

def show2: A2

Element 2 of this Show 2 element product.

Element 2 of this Show 2 element product.

Concrete methods

def el1Show(style: ShowStyle, maxPlaces: Int): String
def el2Show(style: ShowStyle, maxPlaces: Int): String
override def opt1: Option[A1]

The optional default value for parameter 1.

The optional default value for parameter 1.

Definition Classes
override def opt2: Option[A2]

The optional default value for parameter 2.

The optional default value for parameter 2.

Definition Classes
def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): Strings

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
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowDec
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowProductDec
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Inherited from:
ShowDec
override def showElemStrs(way: ShowStyle): Strings
Definition Classes
Inherited from:
ShowProductDec
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String
Inherited from:
ShowProductDec
def showSemisNames: String
Inherited from:
ShowProduct
override def str: String
Definition Classes
Inherited from:
ShowDec
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec
def str1: String

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec
def str2: String

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec
def str3: String

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
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

Implicits

Implicits

implicit def showT1: ShowDecT[A1]

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

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

implicit def showT2: ShowDecT[A2]

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

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