Function apply_ui_preferences

Source
pub fn apply_ui_preferences(next: UiPreferences) -> UiApplyOutcome
Expand description

Publish a validated UI choice without persistence, renderer rebuild or gameplay mutation. Consumers rebuild their own layout from UiPreferences::theme. Use UiPreferences::default() for an explicit UI-only reset; see its example.