pub enum CatMode {
Current,
Table(u32),
String,
Single(u8),
}Expand description
The category-code regime of a line printed from Lua.
Variants§
Current
The current catcode table.
Table(u32)
A specific \catcodetable.
String
-2: everything other (12) except space (10), as \the\toks.
Single(u8)
All characters get this category (tex.cprint, tex.write uses
CatMode::String).
Trait Implementations§
impl Copy for CatMode
impl Eq for CatMode
impl StructuralPartialEq for CatMode
Auto Trait Implementations§
impl Freeze for CatMode
impl RefUnwindSafe for CatMode
impl Send for CatMode
impl Sync for CatMode
impl Unpin for CatMode
impl UnsafeUnpin for CatMode
impl UnwindSafe for CatMode
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