pub fn with_style<P: Program>( program: P, f: impl Fn(&P::State, &P::Theme) -> Style, ) -> impl Program<State = P::State, Message = P::Message, Theme = P::Theme>
Decorates a Program with the given style function.
Program