#[non_exhaustive]pub enum SortBackend {
InsertionSort,
RadixSort,
BitonicSort,
}Expand description
Sort algorithm variants with identical output contracts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InsertionSort
Insertion sort: minimal fixed overhead for small inputs.
RadixSort
Radix sort: stable throughput for skewed integer distributions.
BitonicSort
Bitonic sort: GPU-friendly general-purpose fallback.
Trait Implementations§
Source§impl Clone for SortBackend
impl Clone for SortBackend
Source§fn clone(&self) -> SortBackend
fn clone(&self) -> SortBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SortBackend
Source§impl Debug for SortBackend
impl Debug for SortBackend
impl Eq for SortBackend
Source§impl PartialEq for SortBackend
impl PartialEq for SortBackend
Source§fn eq(&self, other: &SortBackend) -> bool
fn eq(&self, other: &SortBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SortBackend
Auto Trait Implementations§
impl Freeze for SortBackend
impl RefUnwindSafe for SortBackend
impl Send for SortBackend
impl Sync for SortBackend
impl Unpin for SortBackend
impl UnsafeUnpin for SortBackend
impl UnwindSafe for SortBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.