# BindableList

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/model/struct-bindablelist/

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

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

A notifying list that bindings can index into: a [`FerroList`](/docs/0.5.0/api/ferroui-base/collections/struct-ferrolist/) together
with the untyped change event that binding indexers subscribe to.

As a model object it has identity equality.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/model/i_notify_collection_changed.rs#L35)

## Members

- [`new`](#function-new)
- [`items`](#function-items)

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

### new

```rust
fn new(items: impl IntoIterator<Item = T>) -> Rc<Self>
```

Creates a list with the given items.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/model/i_notify_collection_changed.rs#L43)

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

### items

```rust
fn items(self: &Self) -> &FerroList<T>
```

The typed list.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/model/i_notify_collection_changed.rs#L63)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ErasedDestructor`
- `IntoEither`
- `PartialEq`
- [`INotifyCollectionChanged`](/docs/0.5.0/api/ferroui-base/data/model/use-inotifycollectionchanged/)
- [`IBindableList`](/docs/0.5.0/api/ferroui-base/data/model/trait-ibindablelist/)

## Availability

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