pub struct ProgressBarStyleConfig {
pub orientation: Orientation,
pub progress: ProgressKind,
pub track_color_override: Option<ColorProp>,
pub fill_color_override: Option<ColorProp>,
}Fields§
§orientation: Orientation§progress: ProgressKind§track_color_override: Option<ColorProp>Caller override for the track background — None means “use
the recipe default” (SurfaceRole::Sunken).
fill_color_override: Option<ColorProp>Caller override for the determinate fill / indeterminate sweep
tint — None means “use the recipe default”
(SurfaceRole::Accent).
Trait Implementations§
Source§impl Clone for ProgressBarStyleConfig
impl Clone for ProgressBarStyleConfig
Source§fn clone(&self) -> ProgressBarStyleConfig
fn clone(&self) -> ProgressBarStyleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProgressBarStyleConfig
impl !Send for ProgressBarStyleConfig
impl !Sync for ProgressBarStyleConfig
impl !UnwindSafe for ProgressBarStyleConfig
impl Freeze for ProgressBarStyleConfig
impl Unpin for ProgressBarStyleConfig
impl UnsafeUnpin for ProgressBarStyleConfig
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