pub enum ProgressStyle {
Bar,
Spinner,
Download,
Finished,
}Expand description
Preset progress bar styles.
Variants§
Bar
Standard bar with count and percentage.
Spinner
Spinner for indeterminate operations.
Download
Download-style with bytes.
Finished
Finished bar — just shows prefix + message, no bar/timer.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProgressStyle
Auto Trait Implementations§
impl Freeze for ProgressStyle
impl RefUnwindSafe for ProgressStyle
impl Send for ProgressStyle
impl Sync for ProgressStyle
impl Unpin for ProgressStyle
impl UnsafeUnpin 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