pub fn parse(mut self, input: &'a str) -> (TOMLParser<'a>, ParseResult<'a>) {
    let (tmp, result) = self.parser.parse(input);
    self.parser = tmp;
    (self, result)
  }
/// Parses the string slice `input` as a TOML document. The method takes ownership of the parser and then returns it,
/// along with the `ParseResult`, in a tuple.
///
/// # Examples
///
/// ```
/// use tomllib::TOMLParser;
///
/// let parser = TOMLParser::new();
/// let (parser, result) = parser.parse("[table]\nAKey=\"A Value\"");
/// ```
Parses the string slice `input` as a TOML document. The method takes ownership of the parser and then returns it,
along with the `ParseResult`, in a tuple.
Parses the string slice ` input ` as a TOML document . The method takes ownership of the parser and then returns it along with the ` ParseResult ` in a tuple .
pub fn parse(mut self, input: &'a str) -> (TOMLParser<'a>, ParseResult<'a>) {
    let (tmp, result) = self.parser.parse(input);
    self.parser = tmp;
    (self, result)
  }
pub fn parse ( mut self , input : & ' a str ) -> ( TOMLParser < ' a > , ParseResult < ' a > ) { let ( tmp , result ) = self . parser . parse ( input ) ; self . parser = tmp ; ( self , result ) }
Parses the string slice `input` as a TOML document.
Parses the string slice ` input ` as a TOML document .
mut self
input
&'a str
mut self
input
&'a str
examples
```
use tomllib::TOMLParser.

let parser = TOMLParser::new();
let (parser, result) = parser.parse("[table]\nAKey=\"A Value\"");
```
` ` ` use tomllib :: TOMLParser . let parser = TOMLParser :: new () ; let ( parser result ) = parser . parse ( " [ table ] \ nAKey = \ " A Value \ " " ) ; ` ` `