Struct nanoserde::TomlParser [−][src]
Expand description
A parser for TOML string values.
let toml = "[Section]\nvalue=1"; let parsed = TomlParser::parse(toml).unwrap(); assert_eq!(parsed["Section.value"], Toml::Num(1.));
Fields
cur: char
line: usize
col: usize
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TomlParser
impl Send for TomlParser
impl Sync for TomlParser
impl Unpin for TomlParser
impl UnwindSafe for TomlParser