# IndexerBinding

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

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

```rust
struct IndexerBinding
```

A binding to a registered property of another object: what the binding
indexer of [`FerroObject`](/docs/0.5.0/api/ferroui-base/struct-ferroobject/) (`FerroObject::indexer`) produces.

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

## Members

- [`property`](#struct_field-property)
- [`new`](#function-new)
- [`source`](#function-source)
- [`mode`](#function-mode)

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

### property

```rust
property: &'static crate::FerroProperty
```

The property of the source being bound.

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

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

### new

```rust
fn new(source: Ref<FerroObject>, property: &'static FerroProperty, mode: BindingMode) -> Self
```



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

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

### source

```rust
fn source(self: &Self) -> &Ref<FerroObject>
```



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

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

### mode

```rust
fn mode(self: &Self) -> BindingMode
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- [`BindingBase`](/docs/0.5.0/api/ferroui-base/data/trait-bindingbase/)

## Availability

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