pub fn current_platform(headless: bool) -> Rc<dyn Platform>
Returns the default Platform for the current OS.
Platform