# TransitionBaseImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/animation/trait-transitionbaseimpl/

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

```rust
trait TransitionBaseImpl: FerroObjectImpl + $crate::Upcast<TransitionBase>
```

The overridable members introduced by the class.

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

## Members

- [`apply`](#function-apply)
- [`value_type`](#function-value_type)

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

### apply

```rust
fn apply(this: &Self, control: &Animatable, clock: Rc<dyn IClock>, old_value: &BoxedValue, new_value: &BoxedValue) -> Rc<dyn IDisposable>
```

Applies the transition to `control`: animates the transition's
property from `old_value` to `new_value`.

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

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

### value_type

```rust
fn value_type(this: &Self) -> (TypeId, &'static str)
```

The type of the values the transition animates, which the value
type of its property has to match.

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

## Trait implementations

- [`TransitionBaseImpl`](/docs/0.5.0/api/ferroui-base/animation/trait-transitionbaseimpl/)

## Availability

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