pub struct DownloadColumn { /* private fields */ }Expand description
Renders a combined download display: “size @ speed” (e.g., “1.2 MB @ 500 KB/s”).
Combines file size progress with transfer speed in one compact column.
Implementations§
Source§impl DownloadColumn
impl DownloadColumn
pub fn new() -> Self
Sourcepub fn size_style(self, style: Style) -> Self
pub fn size_style(self, style: Style) -> Self
Set the style for file size.
Sourcepub fn speed_style(self, style: Style) -> Self
pub fn speed_style(self, style: Style) -> Self
Set the style for transfer speed.
Trait Implementations§
Source§impl Debug for DownloadColumn
impl Debug for DownloadColumn
Source§impl Default for DownloadColumn
impl Default for DownloadColumn
Source§impl ProgressColumn for DownloadColumn
impl ProgressColumn for DownloadColumn
Auto Trait Implementations§
impl Freeze for DownloadColumn
impl RefUnwindSafe for DownloadColumn
impl Send for DownloadColumn
impl Sync for DownloadColumn
impl Unpin for DownloadColumn
impl UnwindSafe for DownloadColumn
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