pub trait SorterClass<R> {
    fn instantiate(&self, reverse: bool) -> Box<dyn Sorter<R>>;
}
Expand description

Something that can make a boxed Sorter.

This is the boxed object-like trait that is stored in an OrderingSet. When a specific sort is needed, it can be used to create one.

Required methods

Create a Sorter, optionally reversing the order.

Implementors