ChangeComparator

Trait ChangeComparator 

Source
pub trait ChangeComparator<K, C, V> {
    // Required method
    fn compare(&self, a: &Change<K, C, V>, b: &Change<K, C, V>) -> Ordering;
}
Expand description

Trait for change comparators used in sorting and compression.

Required Methods§

Source

fn compare(&self, a: &Change<K, C, V>, b: &Change<K, C, V>) -> Ordering

Implementors§