Type Alias cosmic::iced::widget::progress_bar::StyleFn

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

A styling function for a ProgressBar.

This is just a boxed closure: Fn(&Theme, Status) -> Style.

Aliased Type§

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