Trait termprogress::Display
source · pub trait Display {
// Required methods
fn refresh(&self);
fn blank(&self);
fn get_title(&self) -> &str;
fn set_title(&mut self, from: &str);
fn update_dimensions(&mut self, to: usize);
// Provided methods
fn println(&self, string: &str) { ... }
fn eprintln(&self, string: &str) { ... }
}
Expand description
A trait for all bars’ displaying
Required Methods§
sourcefn update_dimensions(&mut self, to: usize)
fn update_dimensions(&mut self, to: usize)
Update the max size if needed