Skip to main content

ferroui_dynamic_data/list/
sort_options.rs

1//! `SortOptions` (`List/SortOptions.cs`).
2
3/// The options of the sort of a list (`SortOptions`).
4#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
5pub enum SortOptions {
6    /// No options (`None`).
7    #[default]
8    None,
9    /// Find positions with a binary search, which is faster but needs the values that the comparer
10    /// reads never to change (`UseBinarySearch`).
11    UseBinarySearch,
12}