Trait egui_probe::EguiProbe
source · pub trait EguiProbe {
// Required method
fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response;
// Provided methods
fn has_inner(&mut self) -> bool { ... }
fn iterate_inner(&mut self, f: &mut dyn FnMut(&str, &mut dyn EguiProbe)) { ... }
}
Expand description
Provides ability to show probbing UI to values.
Required Methods§
Provided Methods§
sourcefn has_inner(&mut self) -> bool
fn has_inner(&mut self) -> bool
Returns true
if the value has sub-values for probbing.
This will cause the value to be
sourcefn iterate_inner(&mut self, f: &mut dyn FnMut(&str, &mut dyn EguiProbe))
fn iterate_inner(&mut self, f: &mut dyn FnMut(&str, &mut dyn EguiProbe))
Shows probbing UI to edit the inner values.
It should add pairs of widgets to the UI for each record. If record has sub-records it should flatten them.