# apply_transition

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/animation/function-apply_transition/

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

```rust
fn apply_transition<C: Transition<T>, T: PropertyValue>(this: &C, control: &crate::animation::Animatable, clock: std::rc::Rc<dyn IClock>, old_value: &crate::BoxedValue, new_value: &crate::BoxedValue) -> std::rc::Rc<dyn IDisposable>
```

The implementation of `TransitionBaseImpl::apply` for a transition of
value type `T`.

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

## Availability

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