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