pub struct Parser<'a> { /* private fields */ }
Expand description
S-Expr Parser
Implementations§
Source§impl<'a> Parser<'a>
impl<'a> Parser<'a>
pub fn new_with_config(data: &'a str, cfg: TokenizerConfig) -> Self
pub fn new(data: &'a str) -> Self
pub fn next(&mut self) -> Result<Option<SpannedElement<'a>>, ParserError>
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