egui_field_editor 0.6.0

Easily creating UI to edit and preview data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Don't really know why but rust-analyser still need a main if feature is not active...

#[cfg(feature = "datepicker")]
include!("shared/datepicker.rs");

#[cfg(feature = "datepicker")]
fn main() {
	let options = eframe::NativeOptions::default();
	let _ = eframe::run_native(
		"EGui Field Editor Date Picker Example",
		options,
		Box::new(|_cc| Ok(Box::new(MyApp::default()))),
	);
}
#[cfg(not(feature = "datepicker"))]
compile_error!("You need to activate the `datepicker` feature to compile this example");