power_set

Function power_set 

Source
pub fn power_set<T: Clone>(elements: &[T]) -> Vec<Vec<T>>
Expand description

Returns all possible subsets of the given slice.