# SelectedIndexes

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/selection/struct-selectedindexes/

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

```rust
struct SelectedIndexes<T: PropertyValue>
```

The selected indexes: a view of the selection of a model, or of a list
of ranges.

The view of a model refers to it weakly (the model caches the view); it
is empty once the model is released.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selected_indexes.rs#L13)

## Members

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

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

### raise_collection_reset

```rust
fn raise_collection_reset(self: &Self)
```

Notifies the subscribers that the list changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/selection/selected_indexes.rs#L33)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`IReadOnlySelectionList<i32>`](/docs/0.5.0/api/ferroui-controls/selection/trait-ireadonlyselectionlist/)

## Availability

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