Skip to main content

build_mode_state_from_supported

Function build_mode_state_from_supported 

Source
pub fn build_mode_state_from_supported(
    mode: PermissionMode,
    supported_mode_ids: &[PermissionMode],
) -> ModeState
Expand description

Composes a ModeState from the active mode + the resolved supported-mode list.