fn skip_separated_digits(&mut self, is_digit: impl Fn(char) -> bool) -> usize {
        let mut digits = 0;
        loop {
            if self.skip_if(&is_digit) {
                digits += 1;
            } else if !self.skip_if(|ch| ch == '_') {
                break;
            }
        }
        digits
    }
/// Skip some digits, separated by `_`, returning the number of digits consumed.
Skip some digits, separated by `_`, returning the number of digits consumed.
Skip some digits separated by ` _ ` returning the number of digits consumed .
fn skip_separated_digits(&mut self, is_digit: impl Fn(char) -> bool) -> usize {
        let mut digits = 0;
        loop {
            if self.skip_if(&is_digit) {
                digits += 1;
            } else if !self.skip_if(|ch| ch == '_') {
                break;
            }
        }
        digits
    }
fn skip_separated_digits ( & mut self , is_digit : impl Fn ( char ) -> bool ) -> usize { let mut digits = 0 ; loop { if self . skip_if ( & is_digit ) { digits += 1 ; } else if ! self . skip_if ( | ch | ch == '_' ) { break ; } } digits }
Skip some digits, separated by `_`, returning the number of digits consumed.
Skip some digits separated by ` _ ` returning the number of digits consumed .
&mut self
is_digit
impl Fn(char) -> bool
&mut self
is_digit
impl Fn(char) -> bool