pub struct Style {
pub bar_character: char,
pub bar_length: u64,
pub color: Color,
}Expand description
A Style defines the appearance of a progress bar.
Fields§
§bar_character: charThe character used to display the progress bar, such as =, #, *, etc.
bar_length: u64The length of the progress bar in characters.
color: ColorThe color of the progress bar. It will be printed as a 24 bit color.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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