pub trait InspectorTab: Send + Sync {
// Required methods
fn label(&self) -> &str;
fn render(
&mut self,
ui: &mut dyn UiBuilder,
body_rect: [f32; 4],
ctx: &mut InspectorTabContext<'_>,
);
}Expand description
A self-contained body for one Inspector sub-tab. The panel iterates
the registered tabs and dispatches the active one’s render.