pub enum ScannerStatus {
Normal,
Skipping,
Defining,
Matching,
Aligning,
Absorbing,
}Expand description
What the scanner is doing, for runaway diagnostics (scanner_status).
Variants§
Normal
Nothing special.
Skipping
Skipping conditional text.
Defining
Scanning a macro definition.
Matching
Scanning macro arguments.
Aligning
Scanning an alignment preamble.
Absorbing
Scanning a balanced text (\message, \write, …).
Trait Implementations§
Source§impl Clone for ScannerStatus
impl Clone for ScannerStatus
impl Copy for ScannerStatus
Source§impl Debug for ScannerStatus
impl Debug for ScannerStatus
impl Eq for ScannerStatus
Source§impl Ord for ScannerStatus
impl Ord for ScannerStatus
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ScannerStatus
impl PartialEq for ScannerStatus
Source§impl PartialOrd for ScannerStatus
impl PartialOrd for ScannerStatus
impl StructuralPartialEq for ScannerStatus
Auto Trait Implementations§
impl Freeze for ScannerStatus
impl RefUnwindSafe for ScannerStatus
impl Send for ScannerStatus
impl Sync for ScannerStatus
impl Unpin for ScannerStatus
impl UnsafeUnpin for ScannerStatus
impl UnwindSafe for ScannerStatus
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