Trait versatile_data::CustomSort
source · pub trait CustomSort {
// Required methods
fn compare(&self, a: u32, b: u32) -> Ordering;
fn asc(&self) -> Vec<u32>;
fn desc(&self) -> Vec<u32>;
}
pub trait CustomSort {
// Required methods
fn compare(&self, a: u32, b: u32) -> Ordering;
fn asc(&self) -> Vec<u32>;
fn desc(&self) -> Vec<u32>;
}