pub struct UnaryParser<'a, 'b>where
'b: 'a,{ /* private fields */ }
Implementations§
Source§impl<'a, 'b> UnaryParser<'a, 'b>where
'b: 'a,
impl<'a, 'b> UnaryParser<'a, 'b>where
'b: 'a,
pub fn try_new(tokens: &'a Vec<Token<'_>>, bump: &'b Bump) -> ParserResult<Self>
pub fn parse(&self) -> ParserResult<&'b Node<'b>>
Auto Trait Implementations§
impl<'a, 'b> !Freeze for UnaryParser<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for UnaryParser<'a, 'b>
impl<'a, 'b> !Send for UnaryParser<'a, 'b>
impl<'a, 'b> !Sync for UnaryParser<'a, 'b>
impl<'a, 'b> Unpin for UnaryParser<'a, 'b>
impl<'a, 'b> !UnwindSafe for UnaryParser<'a, 'b>
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