# ferro_transition_class

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/macro-ferro_transition_class/

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

```rust
macro_rules! ferro_transition_class
```

Declares a transition class for properties of the given value type:
the class struct deriving from
`TransitionBase`, its constructors
and the override that applies it. The
`Transition` implementation supplies the
values.

```ignore
ferro_transition_class!(
    /// Transition class that handles properties with `f64` types.
    DoubleTransition: f64
);
```

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

## Availability

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