pub fn states_of(state: &AppState, id: WindowId) -> Option<States>
The states the policy configured a window to.