pub enum SortReason {
InitialLoad,
ComparerChanged,
DataChanged,
Reorder,
Reset,
}Expand description
Why a sorted change set was produced (SortReason).
Variants§
InitialLoad
The first batch of items (InitialLoad).
ComparerChanged
The comparer changed (ComparerChanged).
DataChanged
The items changed (DataChanged).
Reorder
The items were sorted again, as asked (Reorder).
Reset
The sorted collection was rebuilt, because of the size of the changes (Reset).
Trait Implementations§
Source§impl Clone for SortReason
impl Clone for SortReason
impl Copy for SortReason
Source§impl Debug for SortReason
impl Debug for SortReason
Source§impl Default for SortReason
impl Default for SortReason
impl Eq for SortReason
Source§impl Hash for SortReason
impl Hash for SortReason
Source§impl PartialEq for SortReason
impl PartialEq for SortReason
impl StructuralPartialEq for SortReason
Auto Trait Implementations§
impl Freeze for SortReason
impl RefUnwindSafe for SortReason
impl Send for SortReason
impl Sync for SortReason
impl Unpin for SortReason
impl UnsafeUnpin for SortReason
impl UnwindSafe for SortReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more