Function enum_from_index

Source
pub fn enum_from_index<E: Clone, I: GenericIndex<E, N>, const N: usize>(
    idx: I,
) -> E