pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme) -> Style + 'a>;
A styling function for a ProgressBar.
ProgressBar
This is just a boxed closure: Fn(&Theme, Status) -> Style.
Fn(&Theme, Status) -> Style
struct StyleFn<'a, Theme>(/* private fields */);