pub struct ProgressProperties {Show 15 fields
pub value: f64,
pub format: ProgressValueFormat,
pub range: Range<f64>,
pub description: OptionalHtml,
pub id: Option<AttrValue>,
pub size: ProgressSize,
pub location: ProgressMeasureLocation,
pub truncate: bool,
pub variant: ProgressVariant,
pub no_icon: bool,
pub helper_text: Option<VChild<HelperText>>,
pub value_text: Option<String>,
pub class: Classes,
pub measure_class: Classes,
pub style: Option<AttrValue>,
}Expand description
Properties for Progress
Fields§
§value: f64The value
format: ProgressValueFormat§range: Range<f64>The possible value range
description: OptionalHtml§id: Option<AttrValue>Base ID of the element
size: ProgressSize§location: ProgressMeasureLocationLocation of the measurement
truncate: boolTruncate the description, when necessary
variant: ProgressVariant§no_icon: boolAlways suppress the icon.
helper_text: Option<VChild<HelperText>>Add some helper text.
value_text: Option<String>Override the text used to represent the value.
class: ClassesAdditional classes for the main element.
measure_class: ClassesAdditional classes for the measure element
style: Option<AttrValue>Additional CSS style
Trait Implementations§
Source§impl PartialEq for ProgressProperties
impl PartialEq for ProgressProperties
Source§impl Properties for ProgressProperties
impl Properties for ProgressProperties
impl StructuralPartialEq for ProgressProperties
Auto Trait Implementations§
impl Freeze for ProgressProperties
impl !RefUnwindSafe for ProgressProperties
impl !Send for ProgressProperties
impl !Sync for ProgressProperties
impl Unpin for ProgressProperties
impl !UnwindSafe for ProgressProperties
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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.