Skip to main content

bars_maybe

Function bars_maybe 

Source
pub fn bars_maybe<T>(
    items: &[T],
    keep: fn(&T) -> bool,
    label: fn(&T, usize) -> String,
    value: Option<fn(&T) -> f64>,
    count: usize,
    label_chars: usize,
    places: u32,
) -> Option<Vec<(String, f64)>>