pub trait Simplify {
type Out: Unit;
// Required method
fn simplify(self) -> Quantity<Self::Out>;
}Expand description
Trait for simplifying composite unit types.
This allows reducing complex unit expressions to simpler forms,
such as Per<U, U> to Unitless or Per<N, Per<N, D>> to D.