macrame.enums
This trait provides the Long/Enum conversions from AsLong and FromLong. As with those traits you must extend the companion object of the enumeration.
Long
Enum
AsLong
FromLong
@enum class Color { Red Blue Yellow } object Color extends LongConverters[Color]
This trait provides the
Long
/Enum
conversions fromAsLong
andFromLong
. As with those traits you must extend the companion object of the enumeration.