pub fn vec_sets_into_slices<T>(vec: Vec<&Set<T>>) -> Vec<&[T]>
Safely transmute a Vec
of Set
s into a Vec
of slice
.
This is useful when you don't want to introduce another allocation to your program.
Note that the values that are parts of the returned
slices will be ordered and deduplicated.