FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ReactiveBinding

    struct · ferroui-reactiveui · v0.5.0

    struct ReactiveBinding<V: IViewFor + ?Sized, T>
    

    The binding the view-first bindings return (ReactiveBinding<TView, TValue>): the view, the values the binding moves and its direction, and the subscription that disposing it ends.

    View source

    Members

    new

    fn new(view: Rc<V>, changed: Rc<dyn IObservable<T>>, direction: BindingDirection, subscription: Rc<dyn IDisposable>) -> Rc<Self>
    

    The binding of view, whose values are changed, in direction; disposing it disposes subscription (ReactiveBinding(TView, IObservable<TValue>, BindingDirection, IDisposable)).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • IDisposable
    • IReactiveBinding<V, T>
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.