pub struct ProgressBarWidget {
pub label: String,
pub progress: f64,
pub total_desc: String,
}Expand description
Progress bar widget
Fields§
§label: StringWidget label
progress: f64Progress (0.0-1.0)
total_desc: StringTotal description (e.g., “14.0 / 24.0 GB”)
Implementations§
Trait Implementations§
Source§impl Clone for ProgressBarWidget
impl Clone for ProgressBarWidget
Auto Trait Implementations§
impl Freeze for ProgressBarWidget
impl RefUnwindSafe for ProgressBarWidget
impl Send for ProgressBarWidget
impl Sync for ProgressBarWidget
impl Unpin for ProgressBarWidget
impl UnsafeUnpin for ProgressBarWidget
impl UnwindSafe for ProgressBarWidget
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