macro_rules! impl_per {
($($t:ident ($str:literal) per {$(
$larger:ident : $output:ty = $value:expr
)*})*) => { ... };
}
Expand description
Declare and implement Per
for all relevant types. Identity implementations are automatic.
macro_rules! impl_per {
($($t:ident ($str:literal) per {$(
$larger:ident : $output:ty = $value:expr
)*})*) => { ... };
}
Declare and implement Per
for all relevant types. Identity implementations are automatic.