[][src]Trait termprogress::ProgressBar

pub trait ProgressBar: Display {
    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.

Required methods

fn set_progress(&mut self, value: f64)

fn get_progress(&self) -> f64

Loading content...

Implementations on Foreign Types

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

impl ProgressBar for ![src]

Loading content...

Implementors

impl ProgressBar for Bar[src]

impl ProgressBar for Silent[src]

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

Loading content...