pub enum SortAlgorithm {
Auto,
Comparison,
Radix,
}Expand description
Sort algorithm selection for argsort operations
Variants§
Auto
Automatically select best algorithm for data type
Comparison
Standard comparison sort (O(n log n))
Radix
LSD radix sort for integers (O(n·k))
Trait Implementations§
Source§impl Clone for SortAlgorithm
impl Clone for SortAlgorithm
Source§fn clone(&self) -> SortAlgorithm
fn clone(&self) -> SortAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SortAlgorithm
impl Debug for SortAlgorithm
Source§impl Default for SortAlgorithm
impl Default for SortAlgorithm
Source§fn default() -> SortAlgorithm
fn default() -> SortAlgorithm
Returns the “default value” for a type. Read more
Source§impl PartialEq for SortAlgorithm
impl PartialEq for SortAlgorithm
impl Copy for SortAlgorithm
impl Eq for SortAlgorithm
impl StructuralPartialEq for SortAlgorithm
Auto Trait Implementations§
impl Freeze for SortAlgorithm
impl RefUnwindSafe for SortAlgorithm
impl Send for SortAlgorithm
impl Sync for SortAlgorithm
impl Unpin for SortAlgorithm
impl UnwindSafe for SortAlgorithm
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