pub trait AppHandler {
// Required methods
fn create_window(&mut self, window: Arc<Window>);
fn resized(&mut self, size: PhysicalSize<u32>);
fn min_size(&self) -> (u16, u16);
fn redraw(&mut self);
}Expand description
A trait for handling application-specific window creation and management.
The AppHandler trait defines the behavior required for handling
the creation of application windows. Implementing this trait allows
for customized window management tailored to the needs of your application.