pub fn set_state_binding( property: Pin<&Property<StateInfo>>, binding: impl Fn() -> i32 + 'static, )
Sets a binding that returns a state to a StateInfo property