pub trait StyleSheet {
    type Style: Default;

    fn active(&self, style: &Self::Style) -> Scrollbar;
    fn hovered(&self, style: &Self::Style) -> Scrollbar;

    fn dragging(&self, style: &Self::Style) -> Scrollbar { ... }
}
Expand description

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

Required Associated Types

The supported style of the StyleSheet.

Required Methods

Produces the style of an active scrollbar.

Produces the style of an hovered scrollbar.

Provided Methods

Produces the style of a scrollbar that is being dragged.

Implementors