pub struct ProgressBarConfig {
pub width: u16,
pub filled_char: char,
pub empty_char: char,
}Expand description
Configuration for progress bar rendering
Fields§
§width: u16Width in characters
filled_char: charCharacter for filled portion
empty_char: charCharacter for empty portion
Implementations§
Trait Implementations§
Source§impl Clone for ProgressBarConfig
impl Clone for ProgressBarConfig
Source§fn clone(&self) -> ProgressBarConfig
fn clone(&self) -> ProgressBarConfig
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 ProgressBarConfig
impl Debug for ProgressBarConfig
Auto Trait Implementations§
impl Freeze for ProgressBarConfig
impl RefUnwindSafe for ProgressBarConfig
impl Send for ProgressBarConfig
impl Sync for ProgressBarConfig
impl Unpin for ProgressBarConfig
impl UnwindSafe for ProgressBarConfig
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