[−][src]Struct nanoserde::TomlParser
Fields
cur: char
line: usize
col: usize
Implementations
impl TomlParser
[src]
pub fn to_val(&mut self, tok: TomlTok, i: &mut Chars) -> Result<Toml, TomlErr>
[src]
pub fn parse_key_value(
&mut self,
local_scope: &String,
key: String,
i: &mut Chars,
out: &mut HashMap<String, Toml>
) -> Result<(), TomlErr>
[src]
&mut self,
local_scope: &String,
key: String,
i: &mut Chars,
out: &mut HashMap<String, Toml>
) -> Result<(), TomlErr>
pub fn parse(data: &str) -> Result<HashMap<String, Toml>, TomlErr>
[src]
pub fn next(&mut self, i: &mut Chars)
[src]
pub fn err_token(&self, tok: TomlTok) -> TomlErr
[src]
pub fn err_parse(&self, what: &str) -> TomlErr
[src]
pub fn next_tok(&mut self, i: &mut Chars) -> Result<TomlTok, TomlErr>
[src]
Trait Implementations
impl Default for TomlParser
[src]
fn default() -> TomlParser
[src]
Auto Trait Implementations
impl RefUnwindSafe for TomlParser
impl Send for TomlParser
impl Sync for TomlParser
impl Unpin for TomlParser
impl UnwindSafe for TomlParser
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,