pub struct ProgressBarProps {
pub style: Option<Color>,
pub value: i32,
pub min: i32,
pub max: i32,
pub striped: bool,
pub animated: bool,
pub label: AttrValue,
pub class: Classes,
}Expand description
Properties for ProgressBar
Fields§
§style: Option<Color>Optional color for the bar
value: i32Current value, between min and max
min: i32Minimum value, default 0
max: i32Maximum value, default 100
striped: boolStriped, default false
animated: boolAnimated, this forces striped
label: AttrValueOptional label placed on the bar
class: ClassesAdditional class
Trait Implementations§
Source§impl Clone for ProgressBarProps
impl Clone for ProgressBarProps
Source§fn clone(&self) -> ProgressBarProps
fn clone(&self) -> ProgressBarProps
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 moreSource§impl PartialEq for ProgressBarProps
impl PartialEq for ProgressBarProps
Source§impl Properties for ProgressBarProps
impl Properties for ProgressBarProps
impl StructuralPartialEq for ProgressBarProps
Auto Trait Implementations§
impl Freeze for ProgressBarProps
impl RefUnwindSafe for ProgressBarProps
impl !Send for ProgressBarProps
impl !Sync for ProgressBarProps
impl Unpin for ProgressBarProps
impl UnwindSafe for ProgressBarProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.