pub trait StyleSheet {
    type Style: Default;

    fn active(&self, style: &Self::Style, is_checked: bool) -> Appearance;
    fn hovered(&self, style: &Self::Style, is_checked: bool) -> Appearance;
}
Expand description

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

Required Associated Types§

The supported style of the StyleSheet.

Required Methods§

Produces the active Appearance of a checkbox.

Produces the hovered Appearance of a checkbox.

Implementors§