pub struct Bar { /* private fields */ }
Expand description
An unusually high-resolution progress bar using Unicode block elements
Examples
let mut bar = Bar::new();
bar.set(0.55);
assert_eq!(format!("[{:10}]", bar), "[█████▌ ]");
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more