pub trait OnResize { // Required method fn on_resize(&mut self, size: &SizeInfo); }
Types that are interested in when the display is resized