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