quantities v0.3.1 (2014-09-14T10:45:06Z)
Home
Dub
Repo
Quantity.opCast
quantities
base
Quantity
Cast a quantity to another quantity type with the same dimensions
Q
opCast
()
struct
Quantity
(N, Dim...)
const
Q
opCast
(
Q
)
(
)
if
(
isQuantity
!
Q
)
T
opCast
()
Meta
Source
See Implementation
quantities
base
Quantity
aliases
dimensions
valueType
constructors
this
functions
isConsistentWith
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toString
value
properties
baseUnit
rawValue
static functions
make
templates
checkDim
checkValueType
Cast a quantity to another quantity type with the same dimensions