Trait ProgressFormatter

Source
pub trait ProgressFormatter {
    // Required method
    fn format(&self, props: &ProgressStyleProperties) -> ProgressStyle;
}
Expand description

A trait that can be used to customize the style of different progress bars of a IndicatifReporter.

Required Methods§

Source

fn format(&self, props: &ProgressStyleProperties) -> ProgressStyle

Returns a progress bar style for the given properties.

Implementors§