Skip to main content

options_with_counts

Function options_with_counts 

Source
pub fn options_with_counts<K: Copy + PartialEq>(
    kinds: &[K],
    totals: &[(K, u64)],
    label: fn(&K) -> String,
) -> Vec<(K, String, u64)>