Struct freya_components::ProgressBarProps 
source · pub struct ProgressBarProps {
    pub theme: Option<ProgressBarThemeWith>,
    pub show_progress: bool,
    pub progress: f32,
}Expand description
ProgressBar component properties.
Fields§
§theme: Option<ProgressBarThemeWith>Theme override.
show_progress: boolShow a label with the current progress. Default to false.
progress: f32Percentage of the progress bar.
Implementations§
source§impl ProgressBarProps
 
impl ProgressBarProps
sourcepub fn builder() -> ProgressBarPropsBuilder<((), (), ())>
 
pub fn builder() -> ProgressBarPropsBuilder<((), (), ())>
Create a builder for building ProgressBarProps.
On the builder, call .theme(...)(optional), .show_progress(...)(optional), .progress(...) to set the values of the fields.
Finally, call .build() to create the instance of ProgressBarProps.
Trait Implementations§
source§impl PartialEq<ProgressBarProps> for ProgressBarProps
 
impl PartialEq<ProgressBarProps> for ProgressBarProps
source§fn eq(&self, other: &ProgressBarProps) -> bool
 
fn eq(&self, other: &ProgressBarProps) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Properties for ProgressBarProps
 
impl Properties for ProgressBarProps
impl StructuralPartialEq for ProgressBarProps
Auto Trait Implementations§
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