logo
pub struct SliderThemeData {
Show 27 fields pub track_height: f32, pub active_track_color: Color, pub inactive_track_color: Color, pub disabled_active_track_color: Color, pub disabled_inactive_track_color: Color, pub active_tick_mark_color: Color, pub inactive_tick_mark_color: Color, pub disabled_active_tick_mark_color: Color, pub disabled_inactive_tick_mark_color: Color, pub thumb_color: Color, pub overlapping_shape_stroke_color: Color, pub disabled_thumb_color: Color, pub overlay_color: Color, pub value_indicator_color: Color, pub overlay_shape: SliderComponentShape, pub tick_mark_shape: SliderTickMarkShape, pub thumb_shape: SliderComponentShape, pub track_shape: SliderTrackShape, pub value_indicator_shape: SliderComponentShape, pub range_tick_mark_shape: RangeSliderTickMarkShape, pub range_thumb_shape: RangeSliderThumbShape, pub range_track_shape: RangeSliderTrackShape, pub range_value_indicator_shape: RangeSliderValueIndicatorShape, pub show_value_indicator: ShowValueIndicator, pub value_indicator_text_style: TextStyle, pub min_thumb_separation: f32, pub thumb_selector: Option<Box<dyn RangeThumbSelector>>,
}

Fields

track_height: f32active_track_color: Colorinactive_track_color: Colordisabled_active_track_color: Colordisabled_inactive_track_color: Coloractive_tick_mark_color: Colorinactive_tick_mark_color: Colordisabled_active_tick_mark_color: Colordisabled_inactive_tick_mark_color: Colorthumb_color: Coloroverlapping_shape_stroke_color: Colordisabled_thumb_color: Coloroverlay_color: Colorvalue_indicator_color: Coloroverlay_shape: SliderComponentShapetick_mark_shape: SliderTickMarkShapethumb_shape: SliderComponentShapetrack_shape: SliderTrackShapevalue_indicator_shape: SliderComponentShaperange_tick_mark_shape: RangeSliderTickMarkShaperange_thumb_shape: RangeSliderThumbShaperange_track_shape: RangeSliderTrackShaperange_value_indicator_shape: RangeSliderValueIndicatorShapeshow_value_indicator: ShowValueIndicatorvalue_indicator_text_style: TextStylemin_thumb_separation: f32thumb_selector: Option<Box<dyn RangeThumbSelector>>

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.