1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
mod default_bool;
mod default_f32;
mod default_option;
mod default_u32;
mod default_usize;
pub use super::*;
#[derive(Debug, Default)]
pub struct InspectArgsDefault {
pub header: Option<bool>,
pub indent_children: Option<bool>,
pub min_value: Option<f32>,
pub max_value: Option<f32>,
pub step: Option<f32>,
}
pub trait InspectRenderDefault<T> {
fn render(data: &[&T], label: &'static str, ui: &imgui::Ui, args: &InspectArgsDefault);
fn render_mut(
data: &mut [&mut T],
label: &'static str,
ui: &imgui::Ui,
args: &InspectArgsDefault,
) -> bool;
}