pub fn mode(mode: Option<Fullscreen>) -> Mode
Converts a winit fullscreen mode to a window::Mode.
winit
window::Mode