Trait django_query::ordering::SorterClass
source · [−]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.