Trait iced::widget::rule::StyleSheet

pub trait StyleSheet {
    type Style: Default;

    fn appearance(&self, style: &Self::Style) -> Appearance;
}
Expand description

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

Required Associated Types§

The supported style of the StyleSheet.

Required Methods§

Produces the style of a rule.

Implementations on Foreign Types§

Implementors§