Skip to content

Instantly share code, notes, and snippets.

View heeen's full-sized avatar
🥨

Florian Hänel heeen

🥨
View GitHub Profile
use winit::{
event::{Event, WindowEvent},
event_loop::{ControlFlow},
};
use std::cell::RefCell;
pub struct ExampleBase {
pub window: winit::window::Window,
pub event_loop: RefCell<winit::event_loop::EventLoop<()>>,
pub test: i32,