Operator 演算子

-(_:_:)

Subtracts two measurements of the same dimension.

Declaration 宣言

static func - (lhs: Measurement<UnitType>, rhs: Measurement<UnitType>) -> Measurement<UnitType>
Available when UnitType conforms to Dimension. UnitTypeDimensionに準拠する時に利用可能。

Parameters パラメータ

lhs

The first measurement.

rhs

The second measurement.

Return Value 戻り値

The result of subtracting the measurement rhs from lhs.

See Also 参照

Operating on a Measurement ある寸法に関して演算する