Function pack_dupes_indexed

Source
pub fn pack_dupes_indexed<'a, I, T>(idata: I) -> (Vec<T>, Vec<usize>)
where I: Iterator<Item = &'a T>, T: 'a + Eq + Hash + Clone,
Expand description

Returns a container with duplicates removed and indices representing the original order