pub struct TokenReader<T, E> { /* private fields */ }
Implementations§
Source§impl<T, E> TokenReader<T, E>
impl<T, E> TokenReader<T, E>
Trait Implementations§
Source§impl<T, E> Preprocessor for TokenReader<T, E>where
T: Preprocessor,
impl<T, E> Preprocessor for TokenReader<T, E>where
T: Preprocessor,
fn define_macro(&mut self, name: &str, replacement: Vec<LexicalToken>)
fn undef_macro(&mut self, name: &str)
Source§impl<T, E> TokenRead for TokenReader<T, E>
impl<T, E> TokenRead for TokenReader<T, E>
fn try_read_token(&mut self) -> Result<Option<LexicalToken>>
fn unread_token(&mut self, token: LexicalToken)
fn read_token(&mut self) -> Result<LexicalToken>
Auto Trait Implementations§
impl<T, E> Freeze for TokenReader<T, E>where
T: Freeze,
impl<T, E> RefUnwindSafe for TokenReader<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for TokenReader<T, E>
impl<T, E> Sync for TokenReader<T, E>
impl<T, E> Unpin for TokenReader<T, E>
impl<T, E> UnwindSafe for TokenReader<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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