pub fn themed<R>(
ui: &mut Ui,
theme: Arc<Theme>,
contents: impl FnOnce(&mut Ui) -> R,
) -> RExpand description
Run contents with theme as the theme of every component in it and its
egui style on the Ui, whatever the app’s own style is.