_methods

trait _methods extends _methods

Default methods for all Int.Opaque.Data defined types

Source
__.scala
trait _methods
class java.lang.Object
trait scala.Matchable
class Any
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

Def

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

To option

To option

Returns Int specialized option

Inherited from
_methods
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.

Inherited from
_methods
Source
Base.scala