pub trait StyleSheet {
    type Style: Default;

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

A set of rules that dictate the style of an application.

Required Associated Types§

The supported style of the StyleSheet.

Required Methods§

Returns the Appearance of the application for the provided Style.

Implementations on Foreign Types§

Implementors§