# TransformOperationsAnimator

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/animation/animators/struct-transformoperationsanimator/

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

```rust
struct TransformOperationsAnimator
```

Interpolates transform operation lists.

This is the interpolation behind
`TransformOperationsTransition`.
It is not registered for any property type, so key frame animations do
not select it.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/animation/animators/transform_operations_animator.rs#L14)

## Members

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

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

### new

```rust
fn new() -> Self
```



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

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

### interpolate

```rust
fn interpolate(self: &Self, progress: f64, old_value: &Rc<TransformOperations>, new_value: &Rc<TransformOperations>) -> Rc<TransformOperations>
```

Interpolates between two operation lists using the specified
progress.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/animation/animators/transform_operations_animator.rs#L23)

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

### validate

```rust
fn validate(self: &Self, item: &Ref<AnimatorKeyFrame>)
```

Validates a key frame: its value must be an operation list.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/animation/animators/transform_operations_animator.rs#L49)

## 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`
- `Default`

## Availability

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