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