pub struct LinearProgressIndicatorConfig {
pub modifier: Modifier,
pub color: Color,
pub track_color: Color,
pub stroke_cap: StrokeCap,
pub gap_size: f32,
pub stop_size: f32,
}Expand description
Configuration for LinearProgressIndicator.
Fields§
§modifier: Modifier§color: Color§track_color: Color§stroke_cap: StrokeCapStroke cap style for the indicator ends. Default: StrokeCap::Round
gap_size: f32Gap between indicator and track, in dp.
stop_size: f32Diameter of the stop indicator dot, in dp.
Trait Implementations§
Source§impl Clone for LinearProgressIndicatorConfig
impl Clone for LinearProgressIndicatorConfig
Source§fn clone(&self) -> LinearProgressIndicatorConfig
fn clone(&self) -> LinearProgressIndicatorConfig
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 LinearProgressIndicatorConfig
impl !Send for LinearProgressIndicatorConfig
impl !Sync for LinearProgressIndicatorConfig
impl !UnwindSafe for LinearProgressIndicatorConfig
impl Freeze for LinearProgressIndicatorConfig
impl Unpin for LinearProgressIndicatorConfig
impl UnsafeUnpin for LinearProgressIndicatorConfig
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