pub struct Props {
pub value: u32,
pub max: u32,
pub label: String,
pub indeterminate: bool,
}Expand description
Progress bar rendering properties
Fields§
§value: u32Current progress value (0..=100, or use any value with max)
max: u32Maximum value (default 100)
label: StringARIA label for the progress bar
indeterminate: boolIf true, renders as indeterminate (animated) progress
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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