Trait EguiProbe

Source
pub trait EguiProbe {
    // Required method
    fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response;

    // Provided method
    fn iterate_inner(
        &mut self,
        ui: &mut Ui,
        f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe),
    ) { ... }
}
Expand description

Provides ability to show probbing UI to values.

Required Methods§

Source

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Shows probbing UI to edit the value.

Provided Methods§

Source

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &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.

Implementations on Foreign Types§

Source§

impl EguiProbe for &str

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for bool

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

impl EguiProbe for f32

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for f64

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for i8

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for i16

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for i32

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for i64

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for isize

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for u8

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for u16

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for u32

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for u64

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for usize

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for String

Source§

fn probe(&mut self, ui: &mut Ui, _: &Style) -> Response

Source§

impl EguiProbe for Color32

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

impl EguiProbe for Hsva

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

impl EguiProbe for Rgba

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

impl EguiProbe for Frame

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl EguiProbe for Pos2

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

impl EguiProbe for Rect

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

impl EguiProbe for Vec2

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

impl EguiProbe for CornerRadius

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl EguiProbe for Margin

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl EguiProbe for Shadow

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl EguiProbe for Stroke

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<K, V, S> EguiProbe for HashMap<K, V, S>
where K: Display + FromStr + Eq + Hash, V: EguiProbe + Default, S: BuildHasher,

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<P> EguiProbe for &mut P
where P: EguiProbe,

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<P> EguiProbe for Box<P>
where P: EguiProbe,

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<T> EguiProbe for Option<T>
where T: EguiProbe + Default,

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<T> EguiProbe for [T]
where T: EguiProbe,

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<T> EguiProbe for Vec<T>
where T: EguiProbe + Default,

Source§

fn probe(&mut self, ui: &mut Ui, style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Source§

impl<T, const N: usize> EguiProbe for [T; N]
where T: EguiProbe,

Source§

fn probe(&mut self, ui: &mut Ui, _style: &Style) -> Response

Source§

fn iterate_inner( &mut self, ui: &mut Ui, f: &mut dyn FnMut(&str, &mut Ui, &mut dyn EguiProbe), )

Implementors§

Source§

impl<F> EguiProbe for EguiProbeFn<F>
where F: FnMut(&mut Ui, &Style) -> Response,

Source§

impl<T> EguiProbe for DeleteMe<'_, T>
where T: EguiProbe,