_methods

trait _methods

Default methods for all Int.Opaque.Base defined types

Source
Base.scala
class java.lang.Object
trait scala.Matchable
class Any
class Int.Opaque.Base[Int.Opaque.Base.A]
object J.Priority
class Int.Opaque.Data[Int.Opaque.Data.A]
class Int.Opaque.Data.Ordered[Int.Opaque.Data.Ordered.A]
class Int.Opaque.Data.Calculable[Int.Opaque.Data.Calculable.A]
class Int.Opaque.Data.Numerical[Int.Opaque.Data.Numerical.A]
class Int.Opaque.Data.Sequential[Int.Opaque.Data.Sequential.A]
object Day
object Month
object Week
object Year
trait _methods
trait _methods
trait _methods
trait _methods
trait _methods

Def

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

To option

To option

Returns Int specialized option

Source
Base.scala
inline def real: Int

Real value

Real value

Returns Int value standing behind the opaque type.

This is a zero cost call.

Source
Base.scala