pub trait SorterClass<'s, R> {
// Required method
fn instantiate(&self, reverse: bool) -> Box<dyn Sorter<R> + 's>;
}
Available on crate feature
sort
only.Expand description
Make a type-elided Sorter
.
Instances of SorterClass
can be stored in an OrderingSet
and used to later instantiate Sorter
instances.