Skip to main content

set_system_ui_mode

Function set_system_ui_mode 

Source
pub fn set_system_ui_mode(mode: SystemUiMode)
Expand description

Request a system-bar visibility mode, reaching whichever shell is running the next time it polls (once per frame — see the module docs’ thread contract). Callable from any thread; the process-wide slot is a plain Mutex, not a UI-thread-only primitive.