# ObservableSource

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive/linq/trait-observablesource/

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

```rust
trait ObservableSource<T>
```

A value that is an observable sequence of `T`: the inner sequences of the operators on a
sequence of sequences (`Merge`, `Concat` and `Switch` of `IObservable<IObservable<T>>`, and the
windows of `Window`). Implemented for every `Rc` of an observable, `Rc<dyn IObservable<T>>` among
them, so that a sequence of subjects or of test observables is a sequence of sequences too.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/merge.rs#L20)

## Members

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

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

### subscribe_source

```rust
fn subscribe_source(self: &Self, observer: Rc<dyn IObserver<T>>) -> Rc<dyn IDisposable>
```

Subscribes `observer` to the sequence.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/merge.rs#L22)

## Trait implementations

- [`ObservableSource<T>`](/docs/0.5.0/api/ferroui-reactive/linq/trait-observablesource/)

## Availability

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