logo
pub fn set_state_binding(
    property: Pin<&Property<StateInfo>>,
    binding: impl Fn() -> i32 + 'static
)
Expand description

Sets a binding that returns a state to a StateInfo property