pub trait InspectRenderStruct<T> {
fn render(
data: &[&T],
label: &'static str,
ui: &mut Ui,
args: &InspectArgsStruct
);
fn render_mut(
data: &mut [&mut T],
label: &'static str,
ui: &mut Ui,
args: &InspectArgsStruct
) -> bool;
}
Expand description
Renders a struct (i.e. draw all of its subfields).
Most traits are implemented by hand-written code, but this trait
is normally generated by putting #[derive(Inspect)]
on a struct