pub fn build_mode_state_from_supported(
mode: PermissionMode,
supported_mode_ids: &[PermissionMode],
) -> ModeStateExpand description
Composes a ModeState from the active mode + the resolved
supported-mode list.
pub fn build_mode_state_from_supported(
mode: PermissionMode,
supported_mode_ids: &[PermissionMode],
) -> ModeStateComposes a ModeState from the active mode + the resolved
supported-mode list.