# ExpressionChainSink

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

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

```rust
struct ExpressionChainSink<T: 'static, V: 'static>
```

Observes the value at the end of a property path (`x => x.A.B.C`) and produces it as a change
each time any step of the path changes (`ExpressionChainSink<TSender, TValue>`).

Each step is observed on the value the step before produced, through the property observer
(`ICreatesObservableForProperty`) with the highest affinity for its object; the later steps
are observed again when an earlier value changes. The current value is produced on
subscription unless the first value is skipped. The sequence never completes; its changes
carry the root object as their sender.



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/expression_chain_sink.rs#L28)

## Members

- [`new`](#function-new)

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

### new

```rust
fn new(parameters: ExpressionChainParameters<T, V>) -> Self
```

The observation described by `parameters`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/expression_chain_sink.rs#L34)

## 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<ObservedChange<Rc<T>, V>>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)

## Availability

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