pub trait OnUnload { // Required method fn on_unload(&mut self); }
OnUnload trait called when a window is unloaded