fn extract_consts(impl_item: &ItemImpl) -> Vec<TraitConst>Expand description
Extract associated constant items from a trait impl block.
Each const NAME: Type = value; in the impl block becomes a TraitConst
that will get its own zero-argument C wrapper for R access.