FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AppliedChangeObservable

    struct · ferroui-reactiveui · v0.5.0

    struct AppliedChangeObservable
    

    The changes a two-way binding actually wrote, handed to whoever subscribes to the binding (AppliedChangeObservable).

    A value the binding weighed and refused to write is not reported. Each change is delivered at once to the observers subscribed when the delivery starts. The sequence never completes.

    View source

    Members

    new

    fn new() -> Rc<Self>
    

    A change stream with no observer.

    Source

    has_observers

    fn has_observers(self: &Self) -> bool
    

    Whether at least one observer is subscribed (HasObservers).

    Source

    on_next

    fn on_next(self: &Self, value: BindingChange)
    

    Reports a change the binding has written (OnNext).

    Source

    remove

    fn remove(self: &Self, observer: &Rc<dyn IObserver<BindingChange>>)
    

    Drops one place of observer without disturbing a change being delivered; an observer that is not there is left alone (Remove).

    Source

    Trait implementations

    Availability

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