Type Alias cosmic::iced_widget::text_input::StyleFn
source · pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
Expand description
A styling function for a TextInput
.
This is just a boxed closure: Fn(&Theme, Status) -> Style
.
Aliased Type§
struct StyleFn<'a, Theme>(/* private fields */);