logo
pub trait StyleSheet {
    fn active(&self) -> Scrollbar;
    fn hovered(&self) -> Scrollbar;

    fn dragging(&self) -> Scrollbar { ... }
}
Expand description

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

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