Conversion

A conversion »link« to a target unit, consisting of a callable converting a value to the target, and one for converting it back.

Is used in the optional Conversions property of base units, see the documentation for UnitImpl.

  1. struct Conversion(T, alias R, alias I)
  2. template Conversion(alias t, alias R, alias I)

Members

Aliases

InverseFunc
alias InverseFunc = I
Undocumented in source.
RegularFunc
alias RegularFunc = R
Undocumented in source.
TargetUnit
alias TargetUnit = T
Undocumented in source.

Meta