use winit::event_loop::EventLoopBuilder; pub struct Window { handle: winit::window::Window, event_loop: winit::event_loop::EventLoop<()> } impl Window { pub fn new() -> Self { let event_loop = EventLoopBuilder::new().build(); } }