pub trait Sortable {
    fn accept_visitor<V: SortVisitor<Target = Self>>(visitor: &mut V)
    where
        Self: Sized
; }
Expand description

Something that can be sorted.

This is the central trait of this module. It has a derive macro which will automatically create all necessary supporting types using the markup on the type.

Required methods

visitor will receive a callback for each sort that is defined for this type.

Implementations on Foreign Types

Implementors