pub struct Parser { /* private fields */ }Expand description
RSX Parser
Implementations§
Source§impl Parser
impl Parser
Sourcepub fn new(config: ParserConfig) -> Parser
pub fn new(config: ParserConfig) -> Parser
Create a new parser with the given ParserConfig.
Sourcepub fn parse(&self, input: ParseStream<'_>) -> Result<Vec<Node>>
pub fn parse(&self, input: ParseStream<'_>) -> Result<Vec<Node>>
Parse a given ParseStream.
Auto Trait Implementations§
impl Freeze for Parser
impl !RefUnwindSafe for Parser
impl !Send for Parser
impl !Sync for Parser
impl Unpin for Parser
impl !UnwindSafe for Parser
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