ModelRole

dicechess.engine.model.ModelRole
See theModelRole companion enum
object ModelRole

Attributes

Companion
enum
Source
ModelRole.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ModelRole.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def find(id: String): Either[String, ModelRole]

Resolves a manifest's modelRole string, listing the known ids on failure — an unknown role is a fail-closed error rather than a default, because "assume position value" is exactly the silent mis-wiring the field exists to prevent.

Resolves a manifest's modelRole string, listing the known ids on failure — an unknown role is a fail-closed error rather than a default, because "assume position value" is exactly the silent mis-wiring the field exists to prevent.

Attributes

Source
ModelRole.scala

Givens

Givens

Attributes

Source
ModelRole.scala