Skip to main content

SortOperator

Trait SortOperator 

Source
pub trait SortOperator: Send + Sync {
    // Required method
    fn sort(
        &self,
        data: &mut Vec<Vec<String>>,
        column: usize,
        ascending: bool,
    ) -> Result<()>;
}
Expand description

Trait for sorting operations

Required Methods§

Source

fn sort( &self, data: &mut Vec<Vec<String>>, column: usize, ascending: bool, ) -> Result<()>

Implementors§