Trait 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 Spinner for !

Source§

fn bump(&mut self)

Source§

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

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>