pub struct Parser<'a> { /* private fields */ }
Implementations§
Source§impl Parser<'_>
impl Parser<'_>
pub fn new(str: &str) -> Parser<'_>
pub fn parse(&mut self, check_else: bool) -> Result<Val, ParserErr>
pub fn parse_string(&mut self) -> Result<Val, ParserErr>
pub fn parse_number(&mut self) -> Result<Val, ParserErr>
pub fn parse_boolean(&mut self) -> Result<Val, ParserErr>
pub fn parse_null(&mut self) -> Result<Val, ParserErr>
pub fn parse_object(&mut self) -> Result<Val, ParserErr>
pub fn parse_array(&mut self) -> Result<Val, ParserErr>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Parser<'a>
impl<'a> RefUnwindSafe for Parser<'a>
impl<'a> Send for Parser<'a>
impl<'a> Sync for Parser<'a>
impl<'a> Unpin for Parser<'a>
impl<'a> UnwindSafe for Parser<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more