Expand description
Data structures for reading input text.
Structs§
- Byte
Iterator - Iterator over bytes in a string, converting
^^encoding to individual bytes (otherwise, we could simply usestring.as_bytes().iter()). - Displayable
Character - Helper structure to display a
Characterin aformat!orwrite!macro. - Displayable
Character Opt - Helper structure to display an
Option<Character>in aformat!orwrite!macro (primarily for the current\escapechar). - String
Line Source - A source of lines of characters generated from a string.
Traits§
- Character
- A single character in a
.texfile; in plain TeX, this is au8, but in e.g. XeTeX, it is a UTF-8 character. - Character
Map - A map from characters
C:Character to some other typeA. Foru8, we can simply use[A;256]. For example, aCategoryCodeSchemeis aCharacterMap<CategoryCode>. - Text
Line Source - A source of lines of characters, e.g. a file or a string.
Type Aliases§
- Text
Line - A single line of characters.