pub trait ProgressBar: Display {
// Required methods
fn set_progress(&mut self, value: f64);
fn get_progress(&self) -> f64;
}Expand description
A trait for any bar with progress. You can implemnent your own styles through this trait.
pub trait ProgressBar: Display {
// Required methods
fn set_progress(&mut self, value: f64);
fn get_progress(&self) -> f64;
}A trait for any bar with progress. You can implemnent your own styles through this trait.