Food

smithy4s.example.Food
See theFood companion trait
object Food extends Companion[Food]

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait Companion[Food]
trait Has[Food]
trait ShapeTag[Food]
trait HasId
class Object
trait Matchable
class Any
Show all
Self type
Food.type

Members list

Type members

Classlikes

final case class PizzaCase(pizza: Pizza) extends Food

Attributes

Companion
object
Supertypes
trait Food
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PizzaCase

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
PizzaCase.type
final case class SaladCase(salad: Salad) extends Food

Attributes

Companion
object
Supertypes
trait Food
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SaladCase

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SaladCase.type
object Visitor

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Visitor.type
trait Visitor[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Default[A]

Inherited classlikes

object hint

Attributes

Inherited from:
Companion
Supertypes
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def pizza(pizza: Pizza): Food
def salad(salad: Salad): Food

Inherited methods

final override def getTag: ShapeTag[Food]

Attributes

Definition Classes
Companion -> Has
Inherited from:
Companion

Concrete fields

val hints: Hints
val id: ShapeId

Implicits

Implicits

implicit val schema: Schema[Food]

Inherited implicits

implicit val tagInstance: ShapeTag[Food]

Attributes

Inherited from:
Companion