zio.blocks.docs.HeadingLevel
See theHeadingLevel companion class
object HeadingLevel
Attributes
- Companion
- class
- Source
- HeadingLevel.scala
- Graph
-
- Supertypes
- Self type
-
HeadingLevel.type
Members list
Type members
Classlikes
case object H1 extends HeadingLevel
Heading level 1 (# ).
Heading level 1 (# ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H1.type
case object H2 extends HeadingLevel
Heading level 2 (## ).
Heading level 2 (## ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H2.type
case object H3 extends HeadingLevel
Heading level 3 (### ).
Heading level 3 (### ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H3.type
case object H4 extends HeadingLevel
Heading level 4 (#### ).
Heading level 4 (#### ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H4.type
case object H5 extends HeadingLevel
Heading level 5 (##### ).
Heading level 5 (##### ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H5.type
case object H6 extends HeadingLevel
Heading level 6 (###### ).
Heading level 6 (###### ).
Attributes
- Source
- HeadingLevel.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrorclass HeadingLeveltrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
H6.type
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Safely construct a heading level from an integer.
Safely construct a heading level from an integer.
Value parameters
- n
-
The heading level (must be 1-6)
Attributes
- Returns
-
Some(level) if n is 1-6, None otherwise
- Source
- HeadingLevel.scala
Construct a heading level from an integer, throwing on invalid input.
Construct a heading level from an integer, throwing on invalid input.
Value parameters
- n
-
The heading level (must be 1-6)
Attributes
- Returns
-
The heading level
- Throws
-
java.lang.IllegalArgumentException
if n is not 1-6
- Source
- HeadingLevel.scala
In this article