pub enum Runaway {
FileEnd(Vec<Token>),
Paragraph(Token),
TrueEnd {
first: bool,
},
}Expand description
Why a macro call’s arguments are abandoned (argument_runaway).
Variants§
FileEnd(Vec<Token>)
An argument ran off the end of a file (tex.web §338-339; §392 with long_state=outer_call): the tokens it had
read, for abandon_runaway_call.
Paragraph(Token)
A non-\long macro met \par in its argument (§392, §399 with long_state=call): the \par as read.
TrueEnd
A macro re-requested at the true end of all input an argument it missed there (note_missing_argument): the
put-back stays in the input; first the first such call of that macro and argument, the one reported.
Trait Implementations§
impl StructuralPartialEq for Runaway
Auto Trait Implementations§
impl Freeze for Runaway
impl RefUnwindSafe for Runaway
impl Send for Runaway
impl Sync for Runaway
impl Unpin for Runaway
impl UnsafeUnpin for Runaway
impl UnwindSafe for Runaway
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