Function feruca::collate_no_tiebreak
source · [−]pub fn collate_no_tiebreak<T: AsRef<[u8]> + Eq + Ord>(
a: &T,
b: &T,
opt: CollationOptions
) -> Ordering
Expand description
This is a variation on the collate
function, to which it is almost identical. The difference
is that, in the event that two strings are ordered equally per the Unicode Collation Algorithm,
this function will not attempt to “break the tie” by using byte-value comparison.