Struct conrod_core::widget::slider::Style [−][src]
pub struct Style { pub color: Option<Color>, pub border: Option<Scalar>, pub border_color: Option<Color>, pub label_color: Option<Color>, pub label_font_size: Option<FontSize>, pub label_font_id: Option<Option<Id>>, }
Expand description
Graphical styling unique to the Slider widget.
Fields
color: Option<Color>
The color of the slidable rectangle.
border: Option<Scalar>
The length of the border around the edges of the slidable rectangle.
border_color: Option<Color>
The color of the Slider’s border.
label_color: Option<Color>
The color of the Slider’s label.
label_font_size: Option<FontSize>
The font-size for the Slider’s label.
label_font_id: Option<Option<Id>>
The ID of the font used to display the label.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl UnwindSafe for Style
Blanket Implementations
Mutably borrows from an owned value. Read more