iced::widget::text_editor

Type Alias StyleFn

pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
Expand description

A styling function for a TextEditor.

Aliased Typeยง

struct StyleFn<'a, Theme>(/* private fields */);