Show2

ostrat.Show2
See theShow2 companion trait
object Show2

Companion object for the Show2 type class trait that shows object with 2 logical fields.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Show2.type

Members list

Type members

Classlikes

class Show2Imp[A1, A2, A](val typeStr: String, val name1: String, val fArg1: A => A1, val name2: String, val fArg2: A => A2, val shortKeys: ArrPairStr[A], val opt2: Option[A2], opt1In: Option[A1])(implicit val show1Ev: Show[A1], val show2Ev: Show[A2]) extends Show2[A1, A2, A]

Implementation class for the general cases of Show2 trait.

Implementation class for the general cases of Show2 trait.

Attributes

Supertypes
trait Show2[A1, A2, A]
trait Persist2[A1, A2]
trait Show2PlusFixed[A1, A2, A]
trait Persist2Plus[A1, A2]
trait Show1PlusFixed[A1, A]
trait Show1Plus[A1, A]
trait Persist1Plus[A1]
trait ShowNFixed[A]
trait PersistN
trait ShowCompound[A]
trait Show[A]
trait Persist
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[A1, A2, A](typeStr: String, name1: String, fArg1: A => A1, name2: String, fArg2: A => A2, opt2: Option[A2], opt1: Option[A1])(implicit show1: Show[A1], show2: Show[A2], ct: ClassTag[A]): Show2[A1, A2, A]

Factory apply method for creating general cases of Show2 type class instances / evidence.

Factory apply method for creating general cases of Show2 type class instances / evidence.

Attributes

def explicit[A1, A2, A](typeStr: String, name1: String, fArg1: A => A1, name2: String, fArg2: A => A2, show1: Show[A1], show2: Show[A2], opt2: Option[A2], opt1: Option[A1])(implicit ct: ClassTag[A]): Show2[A1, A2, A]
def shorts[A1, A2, A](typeStr: String, name1: String, fArg1: A => A1, name2: String, fArg2: A => A2, shortKeys: ArrPairStr[A], opt2: Option[A2], opt1: Option[A1])(implicit show1Ev: Show[A1], show2Ev: Show[A2]): Show2[A1, A2, A]