Function prepare_window

Source
pub fn prepare_window(window: &Window)
Expand description

If you don’t use Driver, it may still be convenient to call prepare_window to set up a window in a cross-platform way (e.g. on web, it will add the window’s canvas to the HTML document).