# CombineLatestObservable

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

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

```rust
struct CombineLatestObservable
```

Combines the latest value of each of 2 to 16 sequences (`CombineLatestObservable`).

It delegates to the `combine_latest` operators of `ferroui-reactive`, as upstream delegates to
its own engine.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/combine_latest_observable.rs#L22)

## Members

- [`create`](#function-create)
- [`create_tuple`](#function-create_tuple)

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

### create

```rust
fn create<S: CombineLatestSources, R: 'static>(sources: S, result_selector: impl Fn(<S as >::Values) -> R + 'static) -> Rc<dyn IObservable<R>>
```

The latest values of `sources` (a tuple of sequences) combined by `result_selector`, which
takes them as one tuple (`Create<T1, ..., TResult>`).

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

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

### create_tuple

```rust
fn create_tuple<S: CombineLatestSources>(sources: S) -> Rc<dyn IObservable<<S as >::Values>>
```

The latest values of `sources` as a tuple.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`

## Availability

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