Gender

io.github.pidoveproject.showdown.team.Gender
See theGender companion enum
object Gender

Attributes

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

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromShortName(shortName: String): Option[Gender]

Get a gender from its short name.

Get a gender from its short name.

Value parameters

shortName

the short name of the gender

Attributes

Returns

Male if shortName is M, Female if it is F

Source
Gender.scala

Givens

Givens

given given_JsonCodec_Gender: JsonCodec[Gender]

Attributes

Source
Gender.scala