ferroui_dynamic_data/cache/internal/combine_operator.rs
1//! `CombineOperator` (`Cache/Internal/CombineOperator.cs`): the logical operators of the
2//! combiners of caches and lists.
3
4/// How the items of several collections are combined (`CombineOperator`).
5#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
6pub enum CombineOperator {
7 /// The items that are in every collection (`And`).
8 And,
9 /// The items that are in any collection (`Or`).
10 Or,
11 /// The items that are in exactly one collection (`Xor`).
12 Xor,
13 /// The items of the first collection that are in none of the others (`Except`).
14 Except,
15}