pub trait StyleSheet {
    type Style: Default + Clone;

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

The style sheet of a menu.

Required Associated Types§

type Style: Default + Clone

The supported style of the StyleSheet.

Required Methods§

fn appearance(&self, style: &Self::Style) -> Appearance

Produces the Appearance of a menu.

Implementors§