iced::widget::container

Type Alias StyleFn

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

A styling function for a Container.

Aliased Typeยง

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