# ImmutableGroupChangeSet

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/cache/struct-immutablegroupchangeset/

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

```rust
struct ImmutableGroupChangeSet<T, K, G>
```

The changes of the states of the groups of a cache (`IImmutableGroupChangeSet<TObject, TKey,
TGroupKey>`, a change set of `IGrouping<TObject, TKey, TGroupKey>` keyed by the group key): a
group whose items change is updated with its new state.

As `GroupChangeSet`, it holds a plain change set of
[`ImmutableGroup`](/docs/0.5.0/api/ferroui-dynamic-data/cache/struct-immutablegroup/)s, which `Deref` and [`IChangeSet`](/docs/0.5.0/api/ferroui-dynamic-data/cache/trait-ichangeset/) give.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/immutable_group_change_set.rs#L14)

## Members

- [`empty`](#function-empty)
- [`change_set`](#function-change_set)

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

### empty

```rust
fn empty() -> Self
```

A change set without changes (`ImmutableGroupChangeSet<TObject, TKey, TGroupKey>.Empty`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/immutable_group_change_set.rs#L32)

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

### change_set

```rust
fn change_set(self: &Self) -> &ChangeSet<ImmutableGroup<T, K, G>, G>
```

The changes as a plain change set.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/cache/immutable_group_change_set.rs#L37)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ToOwned`
- `Clone`
- `Default`
- `From<ChangeSet<ImmutableGroup<T, K, G>, G>>`
- `From<Vec<Change<ImmutableGroup<T, K, G>, G>>>`
- `Deref`
- `IntoIterator`
- [`IChangeSet<ImmutableGroup<T, K, G>, G>`](/docs/0.5.0/api/ferroui-dynamic-data/cache/trait-ichangeset/)
- `PartialEq`
- `Debug`

## Availability

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