pub enum ProgressColumn {
Description,
Text(String, Style),
Bar,
Percentage,
MofN,
Download,
}Expand description
A column in a Progress display. Mirrors the deterministic subset of
upstream’s ProgressColumns.
Variants§
Description
The task description (progress.description — no style).
Text(String, Style)
A static text cell with an explicit style (a simplified TextColumn).
Bar
The flexing progress bar (BarColumn).
Percentage
The completion percentage "{pct:>3}%" (progress.percentage — magenta).
MofN
"{completed}/{total}" (MofNCompleteColumn, progress.download — green).
Download
"{completed}/{total} {unit}" in shared SI byte units, e.g. 0.5/1.0 kB
(DownloadColumn, progress.download — green).
Auto Trait Implementations§
impl Freeze for ProgressColumn
impl RefUnwindSafe for ProgressColumn
impl Send for ProgressColumn
impl Sync for ProgressColumn
impl Unpin for ProgressColumn
impl UnsafeUnpin for ProgressColumn
impl UnwindSafe for ProgressColumn
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