Struct patternfly_yew::components::progress::ProgressProperties
source · 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: f64
The value
format: ProgressValueFormat
§range: Range<f64>
The possible value range
description: OptionalHtml
§id: Option<AttrValue>
Base ID of the element
size: ProgressSize
§location: ProgressMeasureLocation
Location of the measurement
truncate: bool
Truncate the description, when necessary
variant: ProgressVariant
§no_icon: bool
Always 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: Classes
Additional classes for the main element.
measure_class: Classes
Additional classes for the measure 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 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§
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> 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.