# ISubject

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive/subjects/trait-isubject/

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

```rust
trait ISubject<TSource, TResult = TSource>: IObserver<TSource> + IObservable<TResult>
```

An observer and an observable at once (`ISubject<TSource, TResult>`, and `ISubject<T>` when both
are the same type).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/subjects/subject.rs#L10)

## Trait implementations

- [`ISubject<A, B>`](/docs/0.5.0/api/ferroui-reactive/subjects/trait-isubject/)

## Availability

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