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