# BindingPriority

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/enum-bindingpriority/

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

```rust
enum BindingPriority
```

The priority of a binding or of a value set on a property.

Lower values take precedence over higher ones.

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

## Members

- [`Animation`](#variant-animation)
- [`LocalValue`](#variant-localvalue)
- [`StyleTrigger`](#variant-styletrigger)
- [`Template`](#variant-template)
- [`Style`](#variant-style)
- [`Inherited`](#variant-inherited)
- [`Unset`](#variant-unset)

<a id="variant-animation"></a>

### Animation

```rust
Animation = -1
```

A value that comes from an animation.

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

<a id="variant-localvalue"></a>

### LocalValue

```rust
LocalValue = 0
```

A local value.

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

<a id="variant-styletrigger"></a>

### StyleTrigger

```rust
StyleTrigger = 1
```

A triggered style value: a style whose selector has conditions such as
pseudo-classes or property matches.

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

<a id="variant-template"></a>

### Template

```rust
Template = 2
```

A template binding or a value set by a template.

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

<a id="variant-style"></a>

### Style

```rust
Style = 3
```

A style value.

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

<a id="variant-inherited"></a>

### Inherited

```rust
Inherited = 4
```

The value is inherited from an ancestor element.

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

<a id="variant-unset"></a>

### Unset

```rust
Unset = i32::MAX
```

The value is uninitialized.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`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`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `PartialOrd`
- `Ord`
- `Hash`
- `Default`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

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