# PresenterItemsChange

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/primitives/struct-presenteritemschange/

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

```rust
struct PresenterItemsChange
```

A change of the items of a presenter: what the base needs of the reference's
`NotifyCollectionChangedEventArgs`, whatever the type of the items.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L33)

## Members

- [`action`](#struct_field-action)
- [`new_starting_index`](#struct_field-new_starting_index)
- [`new_count`](#struct_field-new_count)
- [`old_starting_index`](#struct_field-old_starting_index)
- [`old_count`](#struct_field-old_count)
- [`reset`](#function-reset)
- [`from_args`](#function-from_args)

<a id="struct_field-action"></a>

### action

```rust
action: ferroui_base::collections::NotifyCollectionChangedAction
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L34)

<a id="struct_field-new_starting_index"></a>

### new_starting_index

```rust
new_starting_index: i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L35)

<a id="struct_field-new_count"></a>

### new_count

```rust
new_count: i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L36)

<a id="struct_field-old_starting_index"></a>

### old_starting_index

```rust
old_starting_index: i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L37)

<a id="struct_field-old_count"></a>

### old_count

```rust
old_count: i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L38)

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

### reset

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

The reset of the items (`CollectionExtensions.ResetEvent`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L43)

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

### from_args

```rust
fn from_args<T>(e: &NotifyCollectionChangedEventArgs<'_, T>) -> Self
```

The change described by the arguments of a collection change.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/primitives/tree_data_grid_presenter_base.rs#L54)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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