Trait termprogress::Spinner

source ·
pub trait Spinner: Display {
    // Required method
    fn bump(&mut self);
}
Expand description

A trait for any bar without progress. You can implemnent your own styles through this trait.

Required Methods§

source

fn bump(&mut self)

Cause the spinner to increment once.

Implementations on Foreign Types§

source§

impl<T> Spinner for Box<T>where T: Spinner + ?Sized,

source§

fn bump(&mut self)

source§

impl Spinner for !

source§

fn bump(&mut self)

Implementors§

source§

impl Spinner for Silent

source§

impl<T> Spinner for MaybeSilent<T>where T: Spinner,

source§

impl<T: ?Sized + Write> Spinner for Spin<T>