Type Alias blackbox_log::units::si::torque::Torque
pub type Torque<U, V> = Quantity<dyn Dimension<Th = Z0, N = Z0, Kind = dyn AngleKind, I = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, M = PInt<UInt<UTerm, B1>>, J = Z0>, U, V>;
Expand description
Torque (aka moment of force) (base unit newton meter, kg · m² · s⁻²).
Torque is a moment, the product of distance and force. Moments are inherently dependent on the distance from a fixed reference point. This library does not capture this dependency. As a consequence, there are no compile time guarantees that only moments of the same frame can be combined.
§Generic Parameters
U
: Base units.V
: Underlying storage type.
Aliased Type§
struct Torque<U, V> {
pub dimension: PhantomData<dyn Dimension<Th = Z0, N = Z0, Kind = dyn AngleKind, I = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, M = PInt<UInt<UTerm, B1>>, J = Z0>>,
pub units: PhantomData<U>,
pub value: V,
}
Fields§
§dimension: PhantomData<dyn Dimension<Th = Z0, N = Z0, Kind = dyn AngleKind, I = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, M = PInt<UInt<UTerm, B1>>, J = Z0>>
Quantity dimension. See Dimension
.
units: PhantomData<U>
Quantity base units. See Units
.
value: V
Quantity value stored in the base units for the quantity.