dimensional_quantity 0.1.11

Check units of measure at compile time using generic const expressions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Definition of Quantity type with f32 as underlying storage
use crate::si::isq::operations_generic::QuantityGeneric;
/// SI ISQ dimensional quantity type with f32 as underlying storage
pub type Quantity<
    const L: i64,
    const M: i64,
    const T: i64,
    const I: i64,
    const TH: i64,
    const N: i64,
    const LUM: i64,
> = QuantityGeneric<L, M, T, I, TH, N, LUM, f32>;