logo
pub trait Sorter: Copy + Clone + Send + Sync + Default {
    fn sort(&self, axis: impl Axis, bots: &mut [impl Aabb]);
}
Expand description

Expose a common Sorter trait so that we may have two version of the tree where one implementation actually does sort the tree, while the other one does nothing when sort() is called.

Required methods

Implementors