[][src]Struct makepad_tinyserde::TomlParser

pub struct TomlParser {
    pub cur: char,
    pub line: usize,
    pub col: usize,
}

Fields

cur: charline: usizecol: usize

Methods

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]

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]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.