# InteractionTrackerState

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/interactions/enum-interactiontrackerstate/

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

```rust
enum InteractionTrackerState
```

The states of an [`InteractionTracker`](/docs/0.5.0/api/ferroui-base/rendering/composition/interactions/struct-interactiontracker/).

WinUI has no public state property; the state is known through the
owner callbacks. The port exposes it as `InteractionTracker::state`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L40)

## Members

- [`Idle`](#variant-idle)
- [`Interacting`](#variant-interacting)
- [`Inertia`](#variant-inertia)
- [`CustomAnimation`](#variant-customanimation)

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

### Idle

```rust
Idle
```

Nothing moves the tracker.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L43)

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

### Interacting

```rust
Interacting
```

A source drives the tracker with input.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L45)

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

### Inertia

```rust
Inertia
```

The tracker coasts to its resting values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L47)

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

### CustomAnimation

```rust
CustomAnimation
```

A custom animation moves the tracker
(`TryUpdatePositionWithAnimation`, `TryUpdateScaleWithAnimation`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/interactions/interaction_tracker.rs#L50)

## 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`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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