1 2 3
use std::sync::Arc; use crate::AppState; pub type GUIDrawFunction = Arc<dyn Fn(&egui::Context, &mut AppState)>;