macro_rules! implement_centroidlike_inner { ($t:ty, true, true) => { ... }; ($t:ty, true, false) => { ... }; ($t:ty, false, true) => { ... }; }
Expand description
The first argument is the type, the second is whether
to strictly adhere to the indexing requirement, and the
third is whether or not to generate From
specializations.