[][src]Trait termprogress::Display

pub trait Display {
    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); fn println(&self, string: &str) { ... }
fn eprintln(&self, string: &str) { ... } }

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

Loading content...

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.

Loading content...

Implementations on Foreign Types

impl<T: ?Sized> Display for Box<T> where
    T: Display
[src]

impl Display for ![src]

Loading content...

Implementors

impl Display for Bar[src]

impl Display for Silent[src]

impl Display for Spin[src]

impl<T> Display for MaybeSilent<T> where
    T: Display
[src]

Loading content...