# AppliedChangeObservable

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/observables/struct-appliedchangeobservable/

**struct** · [`ferroui-reactiveui`](/docs/0.5.0/api/ferroui-reactiveui/) · v0.5.0

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/applied_change_observable.rs#L14)

## Members

- [`new`](#function-new)
- [`has_observers`](#function-has_observers)
- [`on_next`](#function-on_next)
- [`remove`](#function-remove)

<a id="function-new"></a>

### new

```rust
fn new() -> Rc<Self>
```

A change stream with no observer.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/applied_change_observable.rs#L21)

<a id="function-has_observers"></a>

### has_observers

```rust
fn has_observers(self: &Self) -> bool
```

Whether at least one observer is subscribed (`HasObservers`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/applied_change_observable.rs#L26)

<a id="function-on_next"></a>

### on_next

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

Reports a change the binding has written (`OnNext`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/applied_change_observable.rs#L31)

<a id="function-remove"></a>

### remove

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/applied_change_observable.rs#L42)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`SubscribeGuard<T>`](/docs/0.5.0/api/ferroui-base/reactive/use-subscribeguard/)
- [`IObservable<BindingChange>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)
- `Debug`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
