fn values(&mut self, into: &mut TomlTable) -> bool {
        loop {
            self.ws();
            if self.newline() { continue }
            if self.comment() { continue }
            match self.peek(0) {
                Some((_, '[')) => break,
                Some(..) => {}
                None => break,
            }
            let key_lo = self.next_pos();
            let key = match self.key_name() {
                Some(s) => s,
                None => return false
            };
            if !self.keyval_sep() { return false }
            let value = match self.value() {
                Some(value) => value,
                None => return false,
            };
            self.insert(into, key, value, key_lo);
            self.ws();
            self.comment();
            self.newline();
        }
        true
    }
// Parses the values into the given TomlTable. Returns true in case of success
// and false in case of error.
Parses the values into the given TomlTable. Returns true in case of success
and false in case of error.
Parses the values into the given TomlTable . Returns true in case of success and false in case of error .
fn values(&mut self, into: &mut TomlTable) -> bool {
        loop {
            self.ws();
            if self.newline() { continue }
            if self.comment() { continue }
            match self.peek(0) {
                Some((_, '[')) => break,
                Some(..) => {}
                None => break,
            }
            let key_lo = self.next_pos();
            let key = match self.key_name() {
                Some(s) => s,
                None => return false
            };
            if !self.keyval_sep() { return false }
            let value = match self.value() {
                Some(value) => value,
                None => return false,
            };
            self.insert(into, key, value, key_lo);
            self.ws();
            self.comment();
            self.newline();
        }
        true
    }
fn values ( & mut self , into : & mut TomlTable ) -> bool { loop { self . ws ( ) ; if self . newline ( ) { continue } if self . comment ( ) { continue } match self . peek ( 0 ) { Some ( ( _ , '[' ) ) => break , Some ( .. ) => { } None => break , } let key_lo = self . next_pos ( ) ; let key = match self . key_name ( ) { Some ( s ) => s , None => return false } ; if ! self . keyval_sep ( ) { return false } let value = match self . value ( ) { Some ( value ) => value , None => return false , } ; self . insert ( into , key , value , key_lo ) ; self . ws ( ) ; self . comment ( ) ; self . newline ( ) ; } true }
Parses the values into the given TomlTable.
Parses the values into the given TomlTable .
&mut self
into
&mut TomlTable
&mut self
into
&mut TomlTable