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§
impl Copy for Bar
Auto Trait Implementations§
impl Freeze for Bar
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more