pub enum TokKind {
Show 19 variants
Parameter,
UTemplate,
VTemplate,
BackedUp,
BackedUpChar,
Inserted,
Macro,
OutputText,
EveryParText,
EveryMathText,
EveryDisplayText,
EveryHboxText,
EveryVboxText,
EveryJobText,
EveryCrText,
MarkText,
EveryEofText,
WriteText,
LocalText,
}Expand description
The kind of a token-list input level (token_type).
Variants§
Parameter
A macro parameter.
UTemplate
The u part of an alignment template.
VTemplate
The v part of an alignment template.
BackedUp
Tokens backed up by back_input.
BackedUpChar
A backed-up character (LuaTeX distinguishes it in context lines).
Inserted
Tokens inserted during error recovery or by TeX itself.
Macro
A macro body.
OutputText
\output.
EveryParText
\everypar.
EveryMathText
\everymath.
EveryDisplayText
\everydisplay.
EveryHboxText
\everyhbox.
EveryVboxText
\everyvbox.
EveryJobText
\everyjob.
EveryCrText
\everycr.
MarkText
A \mark text.
EveryEofText
\everyeof.
WriteText
A \write text.
LocalText
Tokens produced by Lua (token.put_next, tex.runtoks, …).
Trait Implementations§
impl Copy for TokKind
impl Eq for TokKind
impl StructuralPartialEq for TokKind
Auto Trait Implementations§
impl Freeze for TokKind
impl RefUnwindSafe for TokKind
impl Send for TokKind
impl Sync for TokKind
impl Unpin for TokKind
impl UnsafeUnpin for TokKind
impl UnwindSafe for TokKind
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