This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |