pub fn compare_iter<T, L, R, Skip, Cmp, ToDigit>(
left: L,
right: R,
skip: Skip,
cmp: Cmp,
to_digit: ToDigit,
) -> OrderingExpand description
Compares two iterators of “characters” possibly containing “digits”. The natural ordering can be customized with the following parameters:
skipreturns true if the “character” does not affect the comparison, other than splitting two consecutive digits.cmpcompares two “characters”, assuming that they are not “digits”.to_digitconverts a “character” into a “digit” if possible. The digit of zero is special.