enum2pos (cargo): enum2pos is a rust derive macro for enums that generates "from_index(usize, Vec<String>) -> Option<Self>" and "to_index()" methods for converting between an variants and their position within the enum declaration (similar to an index). 
Keywords: enum|macro|index|string