pub struct ProgressProps {
pub value: Option<f64>,
}Expand description
Progress indicator. value is the completed fraction in 0.0..=1.0; None means
indeterminate (an animated spinner / busy bar — no known extent). Backends map this to
their native determinate/indeterminate widgets (docs/progress.md).
Fields§
§value: Option<f64>Trait Implementations§
Source§impl Clone for ProgressProps
impl Clone for ProgressProps
Source§fn clone(&self) -> ProgressProps
fn clone(&self) -> ProgressProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressProps
impl Debug for ProgressProps
Source§impl Default for ProgressProps
impl Default for ProgressProps
Source§fn default() -> ProgressProps
fn default() -> ProgressProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgressProps
impl PartialEq for ProgressProps
Source§fn eq(&self, other: &ProgressProps) -> bool
fn eq(&self, other: &ProgressProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgressProps
Auto Trait Implementations§
impl Freeze for ProgressProps
impl RefUnwindSafe for ProgressProps
impl Send for ProgressProps
impl Sync for ProgressProps
impl Unpin for ProgressProps
impl UnsafeUnpin for ProgressProps
impl UnwindSafe for ProgressProps
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