macro_rules! impl_per {
($($t:ident per {$(
$larger:ident : [$default_output:ty]
$($int_output:ty)|+ = $int_value:expr;
$($float_output:ty)|+ = $float_value:expr;
)+})*) => { ... };
}Expand description
Implement Per for all relevant types. Identity implementations are automatic.