enumForEachIndexed

inline fun <reified E : Enum<E>> enumForEachIndexed(action: (Int, E) -> Unit)

遍历枚举值