Function group_array_by_value_at_index

Source
pub fn group_array_by_value_at_index<T>(
    array: &[Vec<T>],
    index: usize,
) -> Vec<Vec<Vec<T>>>
where T: Eq + Hash + ToString + Clone,
Expand description

Takes an array of arrays and an index and groups the inner arrays by the value at the index provided.