Struct freya_components::ProgressBarProps
source · pub struct ProgressBarProps {
pub progress: f32,
/* private fields */
}
Expand description
ProgressBar
component properties.
Fields§
§progress: f32
Percentage 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 .show_progress(...)
(optional), .width(...)
(optional), .height(...)
(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