pub enum LexState {
MidLine,
SkipBlanks,
NewLine,
}Expand description
The scanner state of a text level (state).
Variants§
MidLine
In the middle of a line.
SkipBlanks
Skipping blanks after a control word or space.
NewLine
At the beginning of a line.
Trait Implementations§
impl Copy for LexState
impl Eq for LexState
impl StructuralPartialEq for LexState
Auto Trait Implementations§
impl Freeze for LexState
impl RefUnwindSafe for LexState
impl Send for LexState
impl Sync for LexState
impl Unpin for LexState
impl UnsafeUnpin for LexState
impl UnwindSafe for LexState
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