pub struct BarColumn { /* private fields */ }Expand description
A progress bar column’s width and styles. Port of BarColumn’s arguments.
Implementations§
Source§impl BarColumn
impl BarColumn
Sourcepub fn bar_width(self, width: Option<usize>) -> Self
pub fn bar_width(self, width: Option<usize>) -> Self
The bar width, or None to fill the column (upstream bar_width).
Sourcepub fn complete_style(self, style: impl Into<StyleType>) -> Self
pub fn complete_style(self, style: impl Into<StyleType>) -> Self
The completed-part style (upstream complete_style).
Sourcepub fn finished_style(self, style: impl Into<StyleType>) -> Self
pub fn finished_style(self, style: impl Into<StyleType>) -> Self
The finished style (upstream finished_style).
Sourcepub fn pulse_style(self, style: impl Into<StyleType>) -> Self
pub fn pulse_style(self, style: impl Into<StyleType>) -> Self
The pulse style (upstream pulse_style).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarColumn
impl RefUnwindSafe for BarColumn
impl Send for BarColumn
impl Sync for BarColumn
impl Unpin for BarColumn
impl UnsafeUnpin for BarColumn
impl UnwindSafe for BarColumn
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