_methods

trait _methods

Default methods for all Short.Opaque.Base defined types

Source
Base.scala
class java.lang.Object
trait scala.Matchable
class Any
class Short.Opaque.Base[Short.Opaque.Base.A]
class Short.Opaque.Data[Short.Opaque.Data.A]
class Short.Opaque.Data.Ordered[Short.Opaque.Data.Ordered.A]
class Short.Opaque.Data.Calculable[Short.Opaque.Data.Calculable.A]
class Short.Opaque.Data.Numerical[Short.Opaque.Data.Numerical.A]
trait _methods
trait _methods
trait _methods
trait _methods

Def

@targetName("Opt")
inline def ?: Short.G.Opt[THIS_OPAQUE]

To option

To option

Returns Short specialized option

Source
Base.scala
inline def real: Short

Real value

Real value

Returns Short value standing behind the opaque type.

This is a zero cost call.

Source
Base.scala