package unitops
- Alphabetic
- Public
- Protected
Type Members
- trait OffsetUnitConverter[N1, U1, N2, U2] extends AnyRef
An implicit trait that supports compile-time offset unit conversion, when possible.
An implicit trait that supports compile-time offset unit conversion, when possible. Also used to support addition, subtraction and comparisons. This implicit will not exist if U1 and U2 are not convertable to one another.
- N1
the numeric type of the offset-unit value
- U1
the unit expresion type of the offset-unit
- N2
numeric type of another offset-unit value
- U2
unit expression type of the other offset-unit
- trait OffsetUnitConverterDefaultPriority extends AnyRef
- trait OffsetUnitOrd[N1, U1, N2, U2] extends AnyRef
An implicit trait that supports compile-time comparisons / ordering for offset quantities
An implicit trait that supports compile-time comparisons / ordering for offset quantities
- N1
the numeric type of the lhs
- U1
the unit type of the rhs
- N2
numeric type of the rhs
- U2
unit type of the rhs
- trait OffsetUnitSub[N1, U1, N2, U2] extends AnyRef
An implicit trait that supports compile-time offset unit subtraction
An implicit trait that supports compile-time offset unit subtraction
- N1
the numeric type of the quantity value
- U1
the unit expresion type of the quantity
- N2
numeric type of a RHS quantity value
- U2
unit expression type of the RHS quantity
- trait ReduceToBaseUnit[U] extends AnyRef
Resolves for any unit that is linearly reducible to a single base unit
Value Members
- object OffsetUnitConverter extends OffsetUnitConverterDefaultPriority
- object OffsetUnitOrd
- object OffsetUnitSub
- object ReduceToBaseUnit