Function jumpy::prelude::egui::widgets::reset_button_with

pub fn reset_button_with<T>(ui: &mut Ui, value: &mut T, reset_value: T)
where T: PartialEq,
Expand description

Show a button to reset a value to its default. The button is only enabled if the value does not already have its original value.