pub trait IsSortable2D: IsSortableND {
// Required methods
fn sort_x(&mut self);
fn sort_y(&mut self);
}
Expand description
IsSortable2D trait used for collections which can be sorted by x or y
pub trait IsSortable2D: IsSortableND {
// Required methods
fn sort_x(&mut self);
fn sort_y(&mut self);
}
IsSortable2D trait used for collections which can be sorted by x or y