# ImplicitAnimationCollection

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/animations/struct-implicitanimationcollection/

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

```rust
struct ImplicitAnimationCollection
```

A collection of animations triggered when a condition is met.

Implicit animations let you drive animations by specifying trigger conditions rather than requiring the manual definition of animation behavior.
They help decouple animation start logic from core app logic. You define animations and the events that should trigger these animations.
Currently the only available trigger is animated property change.

When expression is used in ImplicitAnimationCollection a special keyword `this.FinalValue` will represent
the final value of the animated property that was changed

Upstream the class is an `IDictionary<string, ICompositionAnimationBase>`;
here the dictionary members are methods of the class. Entries are kept
in insertion order, which is the enumeration order of a dictionary that
has not had entries removed.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L24)

## Members

- [`clear`](#function-clear)
- [`count`](#function-count)
- [`is_read_only`](#function-is_read_only)
- [`contains_key`](#function-contains_key)
- [`remove`](#function-remove)
- [`keys`](#function-keys)
- [`size`](#function-size)
- [`has_key`](#function-has_key)

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

### clear

```rust
fn clear(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L51)

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

### count

```rust
fn count(self: &Self) -> usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L82)

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

### is_read_only

```rust
fn is_read_only(self: &Self) -> bool
```

`ICollection<KeyValuePair<..>>.IsReadOnly`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L87)

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

### contains_key

```rust
fn contains_key(self: &Self, key: &str) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L99)

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

### remove

```rust
fn remove(self: &Self, key: &str) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L103)

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

### keys

```rust
fn keys(self: &Self) -> Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L133)

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

### size

```rust
fn size(self: &Self) -> u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L142)

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

### has_key

```rust
fn has_key(self: &Self, key: &str) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/implicit_animation_collection.rs#L150)

## Trait implementations

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

## Availability

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