# ListSourcesCombineEx

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/list/trait-listsourcescombineex/

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

```rust
trait ListSourcesCombineEx
```

`And`, `Or`, `Xor` and `Except` of a collection of sources (`And(this
ICollection<IObservable<IChangeSet<T>>>)`, ..): the sources are subscribed in order when the
result is subscribed.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L112)

## Members

- [`Item`](#assoc_type-item)
- [`and_list`](#function-and_list)
- [`or`](#function-or)
- [`xor`](#function-xor)
- [`except`](#function-except)

<a id="assoc_type-item"></a>

### Item

```rust
type Item: Clone + PartialEq + 'static
```

The type of the items.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L114)

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

### and_list

```rust
fn and_list(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
```

The items that are in every source (`And(ICollection<..>)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L117)

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

### or

```rust
fn or(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
```

The items that are in any source (`Or(ICollection<..>)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L122)

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

### xor

```rust
fn xor(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
```

The items that are in exactly one source (`Xor(ICollection<..>)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L127)

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

### except

```rust
fn except(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
```

The items of the first source that are in none of the others (`Except(ICollection<..>)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/ops/combine.rs#L132)

## Trait implementations

- [`ListSourcesCombineEx`](/docs/0.5.0/api/ferroui-dynamic-data/list/trait-listsourcescombineex/)

## Availability

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