1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
pub trait Sort { fn name() -> String; fn sort<T>(v: &mut [T]) where T: Ord; fn sort_by<T, F>(v: &mut [T], compare: F) where F: FnMut(&T, &T) -> std::cmp::Ordering; } mod ffi_types; mod known_good_stable_sort; mod patterns; mod tests; mod zipf;