UnitConversion

@implicitNotFound("No unit conversion in scope for value type ${V}, unit types ${UF} => ${UT}")
abstract class UnitConversion[V, UF, UT] extends V => V

Convert a value of type V from implied units UF to UT

Source:
conversion.scala
trait V => V
class Object
trait Matchable
class Any
class DoubleUC[UF, UT]
class FloatUC[UF, UT]
class RationalUC[UF, UT]

Value members

Inherited methods

def andThen[A](g: V => A): V => A
Inherited from:
Function1
def apply(v1: V): V
Inherited from:
Function1
def compose[A](g: A => V): A => V
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1