pub struct ProgressStyle {
pub fill: char,
pub start_cap: char,
pub end_cap: char,
pub done_label: &'static str,
pub show_percent: bool,
pub color: Option<Color>,
}
Expand description
Customizable style for the progress bar
Fields§
§fill: char
§start_cap: char
§end_cap: char
§done_label: &'static str
§show_percent: bool
§color: Option<Color>
Trait Implementations§
Source§impl Clone for ProgressStyle
impl Clone for ProgressStyle
Source§fn clone(&self) -> ProgressStyle
fn clone(&self) -> ProgressStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProgressStyle
impl RefUnwindSafe for ProgressStyle
impl Send for ProgressStyle
impl Sync for ProgressStyle
impl Unpin for ProgressStyle
impl UnwindSafe for ProgressStyle
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