pub enum SaveEntry {
Restore {
loc: Loc,
old: Val,
level: u16,
},
InsertToken(Token),
Boundary {
group: GroupCode,
boundary: usize,
line: i32,
},
Value(i64),
RestoreCodes {
kind: CodeKind,
old: Box<CodeTable>,
upto: u32,
},
}Expand description
An entry of the save stack.
Variants§
Restore
Restore loc to old, defined at level.
InsertToken(Token)
Insert a token when the group ends (\aftergroup).
Boundary
A group boundary.
Fields
Value(i64)
An auxiliary saved value (TeX’s saved(k)).
RestoreCodes
The bulk form of the Restore entries of \lccode c = c (or
another code table) for every c < upto: see
Engine::define_codes_identity.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SaveEntry
impl !Send for SaveEntry
impl !Sync for SaveEntry
impl !UnwindSafe for SaveEntry
impl Freeze for SaveEntry
impl Unpin for SaveEntry
impl UnsafeUnpin for SaveEntry
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