pub enum SortOptions {
None,
UseBinarySearch,
}Expand description
The options of the sort of a list (SortOptions).
Variants§
None
No options (None).
UseBinarySearch
Find positions with a binary search, which is faster but needs the values that the comparer
reads never to change (UseBinarySearch).
Trait Implementations§
Source§impl Clone for SortOptions
impl Clone for SortOptions
impl Copy for SortOptions
Source§impl Debug for SortOptions
impl Debug for SortOptions
Source§impl Default for SortOptions
impl Default for SortOptions
impl Eq for SortOptions
Source§impl Hash for SortOptions
impl Hash for SortOptions
Source§impl PartialEq for SortOptions
impl PartialEq for SortOptions
impl StructuralPartialEq for SortOptions
Auto Trait Implementations§
impl Freeze for SortOptions
impl RefUnwindSafe for SortOptions
impl Send for SortOptions
impl Sync for SortOptions
impl Unpin for SortOptions
impl UnsafeUnpin for SortOptions
impl UnwindSafe for SortOptions
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