# ImmutableGroup

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

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

```rust
struct ImmutableGroup<T, G>
```

The state of a group of a list at one moment (`ImmutableGroup<TObject, TGroupKey>`, the
`IGrouping` of the change sets of `GroupWithImmutableState`): a copy of its items. A clone is
the same state.

Deviation (DEVIATIONS.md, DynamicData): upstream's class is internal and its change sets hold
the interface `IGrouping`; here they hold this type, so it is public.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/list/internal/immutable_group.rs#L19)

## Members

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

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

### ptr_eq

```rust
fn ptr_eq(self: &Self, other: &Self) -> bool
```

Whether `self` and `other` are the same state (`ReferenceEquals`).

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- `Equivalent<K>`
- `Clone`
- [`IGrouping<T, G>`](/docs/0.5.0/api/ferroui-dynamic-data/cache/trait-igrouping/)
- `PartialEq`
- `Eq`
- `Hash`
- `Display`
- `Debug`

## Availability

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