[−][src]Trait termprogress::Display
A trait for all bars' displaying
Required methods
fn refresh(&self)
Refresh the display
fn blank(&self)
Blank the display
fn get_title(&self) -> &str
Get the title for this display
fn set_title(&mut self, from: &str)
Set the title for this display
fn update_dimensions(&mut self, to: usize)
Update the max size if needed
Provided methods
fn println(&self, string: &str)
Blank then print a line, and redisplay.
fn eprintln(&self, string: &str)
Blank then print a line std stderr, and redisplay.
Implementations on Foreign Types
impl<T: ?Sized> Display for Box<T> where
T: Display,
[src]
T: Display,
fn refresh(&self)
[src]
fn blank(&self)
[src]
fn println(&self, string: &str)
[src]
fn eprintln(&self, string: &str)
[src]
fn get_title(&self) -> &str
[src]
fn set_title(&mut self, from: &str)
[src]
fn update_dimensions(&mut self, to: usize)
[src]
impl Display for !
[src]
fn refresh(&self)
[src]
fn blank(&self)
[src]
fn println(&self, _: &str)
[src]
fn eprintln(&self, _: &str)
[src]
fn get_title(&self) -> &str
[src]
fn set_title(&mut self, _: &str)
[src]
fn update_dimensions(&mut self, _: usize)
[src]
Implementors
impl Display for Bar
[src]
fn refresh(&self)
[src]
fn blank(&self)
[src]
fn get_title(&self) -> &str
[src]
fn set_title(&mut self, from: &str)
[src]
fn update_dimensions(&mut self, to: usize)
[src]
impl Display for Silent
[src]
fn println(&self, _: &str)
[src]
fn eprintln(&self, _: &str)
[src]
fn refresh(&self)
[src]
fn blank(&self)
[src]
fn get_title(&self) -> &str
[src]
fn set_title(&mut self, _: &str)
[src]
fn update_dimensions(&mut self, _: usize)
[src]
impl Display for Spin
[src]
fn refresh(&self)
[src]
fn blank(&self)
[src]
fn get_title(&self) -> &str
[src]
fn set_title(&mut self, from: &str)
[src]
fn update_dimensions(&mut self, _to: usize)
[src]
fn println(&self, string: &str)
[src]
impl<T> Display for MaybeSilent<T> where
T: Display,
[src]
T: Display,