Searched refs:UnderscoreOrder (Results 1 – 2 of 2) sorted by relevance
7 pub enum UnderscoreOrder { enum16 pub fn cmp(lhs: &Path, rhs: &Path, mode: UnderscoreOrder) -> Ordering { in cmp()28 fn cmp_segment(lhs: &str, rhs: &str, mode: UnderscoreOrder) -> Ordering { in cmp_segment()44 if mode == UnderscoreOrder::Last { in cmp_segment()
6 use crate::compare::{cmp, Path, UnderscoreOrder};17 let mode = UnderscoreOrder::First; in sorted()22 let mode = UnderscoreOrder::Last; in sorted()37 fn find_misordered(paths: &[Path], mode: UnderscoreOrder) -> Option<usize> { in find_misordered()