Struct patternfly_yew::components::progress::ProgressProperties
source · pub struct ProgressProperties {Show 14 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 additional_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.
additional_class: ClassesAdditional classes for the main element.
style: Option<AttrValue>Additional CSS style
Trait Implementations§
source§impl PartialEq for ProgressProperties
impl PartialEq for ProgressProperties
source§fn eq(&self, other: &ProgressProperties) -> bool
fn eq(&self, other: &ProgressProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for ProgressProperties
impl Properties for ProgressProperties
impl StructuralPartialEq for ProgressProperties
Auto Trait Implementations§
impl !RefUnwindSafe for ProgressProperties
impl !Send for ProgressProperties
impl !Sync for ProgressProperties
impl Unpin for ProgressProperties
impl !UnwindSafe for ProgressProperties
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.