Skip to main content

linux_platform

Function linux_platform 

Source
pub fn linux_platform(allowed_modes: WindowingModes) -> Rc<dyn Platform>
Expand description

Returns a platform that may switch among allowed_modes.

It starts windowed in the process’s own environment, or headless if that names no allowed display server. Set another initial mode with gpui::Application::with_windowing.