Skip to main content

current_system_ui_mode

Function current_system_ui_mode 

Source
pub fn current_system_ui_mode() -> (u64, SystemUiMode)
Expand description

A cheap peek at the slot’s current (generation, mode) pair, for a caller that wants the raw state without consuming/tracking a SystemUiWatcher’s “last seen” cursor — e.g. encoded_state, or an FFI glue module polling from the platform side.