# BindingOperations

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

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

```rust
struct BindingOperations
```

Static members related to bindings.

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

## Members

- [`do_nothing`](#function-do_nothing)
- [`is_do_nothing`](#function-is_do_nothing)
- [`is_unset`](#function-is_unset)
- [`get_binding_expression_base`](#function-get_binding_expression_base)

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

### do_nothing

```rust
fn do_nothing() -> BoxedValue
```

The marker value that tells a binding target to do nothing: the
binding value is ignored.

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

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

### is_do_nothing

```rust
fn is_do_nothing(value: Option<&BoxedValue>) -> bool
```

Whether `value` is the do-nothing marker.

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

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

### is_unset

```rust
fn is_unset(value: Option<&BoxedValue>) -> bool
```

Whether `value` is the unset marker.

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

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

### get_binding_expression_base

```rust
fn get_binding_expression_base(target: &FerroObject, property: &'static FerroProperty) -> Option<Rc<dyn BindingExpressionBase>>
```

Retrieves the binding expression that is currently active on the
specified property, if any.

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

## 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`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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