Skip to main content

ferroui_dynamic_data/aggregation/
mod.rs

1//! The aggregations of DynamicData (`DynamicData/Aggregation`): change sets shaped for continuous
2//! aggregations (`ForAggregation`, [`IAggregateChangeSet`], [`AggregateItem`]) and the running
3//! aggregates of caches and lists: the average (`avg`), the count and whether there are items
4//! (`count_cache`, `is_empty_cache`, `is_not_empty`, ...), the maximum and minimum, the sample
5//! standard deviation (`std_dev`) and the sum (`sum_cache`, `sum_list`).
6//!
7//! The operators are methods of [`AggregationCacheEx`], [`AggregationListEx`],
8//! [`AggregateChangeSetEx`] and [`InvalidateWhenEx`] (upstream's namespace is imported on its own,
9//! as these traits are).
10
11mod aggregate_enumerator;
12mod aggregate_item;
13mod aggregate_number;
14mod aggregate_type;
15mod aggregation_ex;
16mod avg;
17mod avg_ex;
18mod count_ex;
19mod i_aggregate_change_set;
20mod max_ex;
21mod std_dev;
22mod std_dev_ex;
23mod sum_ex;
24
25pub(crate) use aggregate_enumerator::{cache_aggregate, list_aggregate};
26pub use aggregate_item::AggregateItem;
27pub use aggregate_number::{AggregateNumber, AggregateValue};
28pub use aggregate_type::AggregateType;
29pub(crate) use aggregation_ex::accumulate;
30pub use aggregation_ex::{AggregateChangeSetEx, AggregationCacheEx, AggregationListEx, InvalidateWhenEx};
31pub(crate) use avg::Avg;
32pub use i_aggregate_change_set::{AggregateChangeSets, IAggregateChangeSet};
33pub(crate) use max_ex::MaxOrMin;
34pub(crate) use std_dev::StdDev;
35pub use std_dev_ex::StdDevValue;