Trait iced::widget::text::StyleSheet

pub trait StyleSheet {
    type Style: Default + Copy;

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

The style sheet of some text.

Required Associated Types§

type Style: Default + Copy

The supported style of the StyleSheet.

Required Methods§

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

Produces the Appearance of some text.

Implementors§