pub struct ArgsortConfig {
pub descending: bool,
pub algorithm: SortAlgorithm,
pub parallel: bool,
}Expand description
Configuration for argsort with algorithm selection
Fields§
§descending: bool§algorithm: SortAlgorithm§parallel: boolImplementations§
Source§impl ArgsortConfig
impl ArgsortConfig
Sourcepub fn descending(self, descending: bool) -> Self
pub fn descending(self, descending: bool) -> Self
Set descending order
Sourcepub fn algorithm(self, algorithm: SortAlgorithm) -> Self
pub fn algorithm(self, algorithm: SortAlgorithm) -> Self
Set algorithm
Trait Implementations§
Source§impl Clone for ArgsortConfig
impl Clone for ArgsortConfig
Source§fn clone(&self) -> ArgsortConfig
fn clone(&self) -> ArgsortConfig
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 ArgsortConfig
impl Debug for ArgsortConfig
Source§impl Default for ArgsortConfig
impl Default for ArgsortConfig
Source§fn default() -> ArgsortConfig
fn default() -> ArgsortConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArgsortConfig
impl RefUnwindSafe for ArgsortConfig
impl Send for ArgsortConfig
impl Sync for ArgsortConfig
impl Unpin for ArgsortConfig
impl UnwindSafe for ArgsortConfig
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