pub struct ProgressBar {
pub bar_width: usize,
pub complete_char: char,
pub remaining_char: char,
pub complete_style: Style,
pub remaining_style: Style,
}Expand description
A single progress bar configuration (Deprecated/Legacy support wrapper or helper). Kept for backward compat if anyone used it directly, but mainly used by BarColumn now.
Fields§
§bar_width: usizeWidth of the bar portion
complete_char: charCharacter for completed portion
remaining_char: charCharacter for remaining portion
complete_style: StyleStyle for completed portion
remaining_style: StyleStyle for remaining portion
Implementations§
Trait Implementations§
Source§impl Clone for ProgressBar
impl Clone for ProgressBar
Source§fn clone(&self) -> ProgressBar
fn clone(&self) -> ProgressBar
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressBar
impl Debug for ProgressBar
Auto Trait Implementations§
impl Freeze for ProgressBar
impl RefUnwindSafe for ProgressBar
impl Send for ProgressBar
impl Sync for ProgressBar
impl Unpin for ProgressBar
impl UnwindSafe for ProgressBar
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