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
Source§fn clone(&self) -> ProgressBarWidget
fn clone(&self) -> ProgressBarWidget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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