# ExitAnimations

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-behaviors-animations/struct-exitanimations/

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

```rust
struct ExitAnimations
```

Provides exit animation helpers inspired by animate.css.

Every `set_*` function animates `element` with its exit effect over `milliseconds`, the
animation duration in milliseconds, when the element is loaded.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L14)

## Members

- [`set_back_out_down`](#function-set_back_out_down)
- [`set_back_out_left`](#function-set_back_out_left)
- [`set_back_out_right`](#function-set_back_out_right)
- [`set_back_out_up`](#function-set_back_out_up)
- [`set_bounce_out`](#function-set_bounce_out)
- [`set_bounce_out_down`](#function-set_bounce_out_down)
- [`set_bounce_out_left`](#function-set_bounce_out_left)
- [`set_bounce_out_right`](#function-set_bounce_out_right)
- [`set_bounce_out_up`](#function-set_bounce_out_up)
- [`set_fade_out`](#function-set_fade_out)
- [`set_fade_out_down`](#function-set_fade_out_down)
- [`set_fade_out_down_big`](#function-set_fade_out_down_big)
- [`set_fade_out_left`](#function-set_fade_out_left)
- [`set_fade_out_left_big`](#function-set_fade_out_left_big)
- [`set_fade_out_right`](#function-set_fade_out_right)
- [`set_fade_out_right_big`](#function-set_fade_out_right_big)
- [`set_fade_out_up`](#function-set_fade_out_up)
- [`set_fade_out_up_big`](#function-set_fade_out_up_big)
- [`set_fade_out_top_left`](#function-set_fade_out_top_left)
- [`set_fade_out_top_right`](#function-set_fade_out_top_right)
- [`set_fade_out_bottom_left`](#function-set_fade_out_bottom_left)
- [`set_fade_out_bottom_right`](#function-set_fade_out_bottom_right)
- [`set_flip_out_x`](#function-set_flip_out_x)
- [`set_flip_out_y`](#function-set_flip_out_y)
- [`set_light_speed_out_left`](#function-set_light_speed_out_left)
- [`set_light_speed_out_right`](#function-set_light_speed_out_right)
- [`set_rotate_out`](#function-set_rotate_out)
- [`set_rotate_out_down_left`](#function-set_rotate_out_down_left)
- [`set_rotate_out_down_right`](#function-set_rotate_out_down_right)
- [`set_rotate_out_up_left`](#function-set_rotate_out_up_left)
- [`set_rotate_out_up_right`](#function-set_rotate_out_up_right)
- [`set_slide_out_down`](#function-set_slide_out_down)
- [`set_slide_out_left`](#function-set_slide_out_left)
- [`set_slide_out_right`](#function-set_slide_out_right)
- [`set_slide_out_up`](#function-set_slide_out_up)
- [`set_zoom_out`](#function-set_zoom_out)
- [`set_zoom_out_down`](#function-set_zoom_out_down)
- [`set_zoom_out_left`](#function-set_zoom_out_left)
- [`set_zoom_out_right`](#function-set_zoom_out_right)
- [`set_zoom_out_up`](#function-set_zoom_out_up)
- [`set_hinge`](#function-set_hinge)
- [`set_roll_out`](#function-set_roll_out)

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

### set_back_out_down

```rust
fn set_back_out_down(element: &Control, milliseconds: f64)
```

Animates `element` with the BackOutDown exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L18)

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

### set_back_out_left

```rust
fn set_back_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the BackOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L23)

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

### set_back_out_right

```rust
fn set_back_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the BackOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L28)

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

### set_back_out_up

```rust
fn set_back_out_up(element: &Control, milliseconds: f64)
```

Animates `element` with the BackOutUp exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L33)

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

### set_bounce_out

```rust
fn set_bounce_out(element: &Control, milliseconds: f64)
```

Animates `element` with the BounceOut exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L38)

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

### set_bounce_out_down

```rust
fn set_bounce_out_down(element: &Control, milliseconds: f64)
```

Animates `element` with the BounceOutDown exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L43)

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

### set_bounce_out_left

```rust
fn set_bounce_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the BounceOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L48)

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

### set_bounce_out_right

```rust
fn set_bounce_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the BounceOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L53)

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

### set_bounce_out_up

```rust
fn set_bounce_out_up(element: &Control, milliseconds: f64)
```

Animates `element` with the BounceOutUp exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L58)

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

### set_fade_out

```rust
fn set_fade_out(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOut exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L63)

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

### set_fade_out_down

```rust
fn set_fade_out_down(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutDown exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L68)

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

### set_fade_out_down_big

```rust
fn set_fade_out_down_big(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutDownBig exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L73)

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

### set_fade_out_left

```rust
fn set_fade_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L78)

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

### set_fade_out_left_big

```rust
fn set_fade_out_left_big(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutLeftBig exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L83)

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

### set_fade_out_right

```rust
fn set_fade_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L88)

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

### set_fade_out_right_big

```rust
fn set_fade_out_right_big(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutRightBig exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L93)

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

### set_fade_out_up

```rust
fn set_fade_out_up(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutUp exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L98)

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

### set_fade_out_up_big

```rust
fn set_fade_out_up_big(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutUpBig exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L103)

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

### set_fade_out_top_left

```rust
fn set_fade_out_top_left(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutTopLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L108)

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

### set_fade_out_top_right

```rust
fn set_fade_out_top_right(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutTopRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L113)

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

### set_fade_out_bottom_left

```rust
fn set_fade_out_bottom_left(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutBottomLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L118)

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

### set_fade_out_bottom_right

```rust
fn set_fade_out_bottom_right(element: &Control, milliseconds: f64)
```

Animates `element` with the FadeOutBottomRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L123)

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

### set_flip_out_x

```rust
fn set_flip_out_x(element: &Control, milliseconds: f64)
```

Animates `element` with the FlipOutX exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L128)

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

### set_flip_out_y

```rust
fn set_flip_out_y(element: &Control, milliseconds: f64)
```

Animates `element` with the FlipOutY exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L133)

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

### set_light_speed_out_left

```rust
fn set_light_speed_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the LightSpeedOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L138)

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

### set_light_speed_out_right

```rust
fn set_light_speed_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the LightSpeedOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L143)

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

### set_rotate_out

```rust
fn set_rotate_out(element: &Control, milliseconds: f64)
```

Animates `element` with the RotateOut exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L148)

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

### set_rotate_out_down_left

```rust
fn set_rotate_out_down_left(element: &Control, milliseconds: f64)
```

Animates `element` with the RotateOutDownLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L153)

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

### set_rotate_out_down_right

```rust
fn set_rotate_out_down_right(element: &Control, milliseconds: f64)
```

Animates `element` with the RotateOutDownRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L158)

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

### set_rotate_out_up_left

```rust
fn set_rotate_out_up_left(element: &Control, milliseconds: f64)
```

Animates `element` with the RotateOutUpLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L163)

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

### set_rotate_out_up_right

```rust
fn set_rotate_out_up_right(element: &Control, milliseconds: f64)
```

Animates `element` with the RotateOutUpRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L168)

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

### set_slide_out_down

```rust
fn set_slide_out_down(element: &Control, milliseconds: f64)
```

Animates `element` with the SlideOutDown exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L173)

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

### set_slide_out_left

```rust
fn set_slide_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the SlideOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L178)

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

### set_slide_out_right

```rust
fn set_slide_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the SlideOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L183)

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

### set_slide_out_up

```rust
fn set_slide_out_up(element: &Control, milliseconds: f64)
```

Animates `element` with the SlideOutUp exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L188)

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

### set_zoom_out

```rust
fn set_zoom_out(element: &Control, milliseconds: f64)
```

Animates `element` with the ZoomOut exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L193)

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

### set_zoom_out_down

```rust
fn set_zoom_out_down(element: &Control, milliseconds: f64)
```

Animates `element` with the ZoomOutDown exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L198)

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

### set_zoom_out_left

```rust
fn set_zoom_out_left(element: &Control, milliseconds: f64)
```

Animates `element` with the ZoomOutLeft exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L203)

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

### set_zoom_out_right

```rust
fn set_zoom_out_right(element: &Control, milliseconds: f64)
```

Animates `element` with the ZoomOutRight exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L208)

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

### set_zoom_out_up

```rust
fn set_zoom_out_up(element: &Control, milliseconds: f64)
```

Animates `element` with the ZoomOutUp exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L213)

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

### set_hinge

```rust
fn set_hinge(element: &Control, milliseconds: f64)
```

Animates `element` with the Hinge exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L218)

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

### set_roll_out

```rust
fn set_roll_out(element: &Control, milliseconds: f64)
```

Animates `element` with the RollOut exit effect over the specified duration.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors.Animations/composition/exit_animations.rs#L223)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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