# IndexerBindingExpression

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

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

```rust
struct IndexerBindingExpression
```

The binding expression of an
`IndexerBinding`: binds a property of the
target to a registered property of another object.

The source and the target are held weakly: unlike the managed
implementation there is no collector for the reference cycle that a
binding between two objects (or of an object to itself) would otherwise
create.

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

## Members

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

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

### new

```rust
fn new(source: &FerroObject, source_property: &'static FerroProperty, target: &FerroObject, target_property: Option<&'static FerroProperty>, mode: BindingMode) -> Rc<Self>
```



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`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`
- [`UntypedBindingExpression`](/docs/0.5.0/api/ferroui-base/data/core/trait-untypedbindingexpression/)
- [`IDisposable`](/docs/0.5.0/api/ferroui-base/reactive/use-idisposable/)
- [`BindingExpressionBase`](/docs/0.5.0/api/ferroui-base/data/trait-bindingexpressionbase/)
- `Drop`

## Availability

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