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.
Members
new
fn new() -> Rc<Self>
A change stream with no observer.
has_observers
fn has_observers(self: &Self) -> bool
Whether at least one observer is subscribed (HasObservers).
on_next
fn on_next(self: &Self, value: BindingChange)
Reports a change the binding has written (OnNext).
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).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnySubscribeGuard<T>IObservable<BindingChange>Debug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.