# AnimationProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-animationprops/

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

```rust
trait AnimationProps: ElementBuilder
```

The properties and routed events of `Animation`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2171)

## Members

- [`easing`](#function-easing)
- [`speed_ratio`](#function-speed_ratio)

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

### easing

```rust
fn easing<M>(self: Self, value: impl IntoProp<ferroui_base::animation::easings::Easing, M>) -> Self
```

Sets `Animation::easing_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2173)

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

### speed_ratio

```rust
fn speed_ratio<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `Animation::speed_ratio_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2178)

## Trait implementations

- [`AnimationProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-animationprops/)

## Availability

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