[][src]Trait iced_graphics::widget::slider::StyleSheet

pub trait StyleSheet {
    fn active(&self) -> Style;
fn hovered(&self) -> Style;
fn dragging(&self) -> Style; }

A set of rules that dictate the style of a slider.

Required methods

fn active(&self) -> Style

Produces the style of an active slider.

fn hovered(&self) -> Style

Produces the style of an hovered slider.

fn dragging(&self) -> Style

Produces the style of a slider that is being dragged.

Loading content...

Implementors

Loading content...