Struct zzz::ProgressBarConfig
source · pub struct ProgressBarConfig {
pub width: Option<u32>,
pub min_bar_width: u32,
pub theme: &'static dyn ProgressBarTheme,
pub max_fps: f32,
}Expand description
Configuration for a progress bar.
This is a separate struct from the actual progress bar in order to allow a configuration to be reused in different progress bar instances.
Fields§
§width: Option<u32>§min_bar_width: u32Minimum width to bother with drawing the bar for.
theme: &'static dyn ProgressBarTheme§max_fps: f32Auto Trait Implementations§
impl !RefUnwindSafe for ProgressBarConfig
impl Send for ProgressBarConfig
impl Sync for ProgressBarConfig
impl Unpin for ProgressBarConfig
impl !UnwindSafe for ProgressBarConfig
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