# aggregation

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/aggregation/

**module** · [`ferroui-dynamic-data`](/docs/0.5.0/api/ferroui-dynamic-data/) · v0.5.0

```rust
module aggregation
```

The aggregations of DynamicData (`DynamicData/Aggregation`): change sets shaped for continuous
aggregations (`ForAggregation`, [`IAggregateChangeSet`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-iaggregatechangeset/), [`AggregateItem`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/struct-aggregateitem/)) and the running
aggregates of caches and lists: the average (`avg`), the count and whether there are items
(`count_cache`, `is_empty_cache`, `is_not_empty`, ...), the maximum and minimum, the sample
standard deviation (`std_dev`) and the sum (`sum_cache`, `sum_list`).

The operators are methods of [`AggregationCacheEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregationcacheex/), [`AggregationListEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregationlistex/),
[`AggregateChangeSetEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregatechangesetex/) and [`InvalidateWhenEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-invalidatewhenex/) (upstream's namespace is imported on its own,
as these traits are).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/aggregation/mod.rs#L1)

## Contents

- [`AggregateItem`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/struct-aggregateitem/) — struct
- [`AggregateNumber`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregatenumber/) — trait
- [`AggregateValue`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregatevalue/) — trait
- [`AggregateType`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/enum-aggregatetype/) — enum
- [`AggregateChangeSetEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregatechangesetex/) — trait
- [`AggregationCacheEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregationcacheex/) — trait
- [`AggregationListEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-aggregationlistex/) — trait
- [`InvalidateWhenEx`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-invalidatewhenex/) — trait
- [`AggregateChangeSets`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/type_alias-aggregatechangesets/) — type alias
- [`IAggregateChangeSet`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-iaggregatechangeset/) — trait
- [`StdDevValue`](/docs/0.5.0/api/ferroui-dynamic-data/aggregation/trait-stddevvalue/) — trait

## Availability

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