com.phasmidsoftware.lascala.Layout
See theLayout companion object
final case class Layout(tab: Int => String = ..., maxElements: Option[Int] = ..., bookends: String = ...)
How a rendering is laid out.
Value parameters
- bookends
-
the prefix, separator and suffix of a collection (by default, "(,)")
- maxElements
-
the maximum number of elements of a collection to be rendered (by default, 10)
- tab
-
the white space for a given indent (by default, two spaces per tab). Typically this will be uniform, but you're free to set up a series of tabs like on an old typewriter where the spacing is non-uniform.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article