Module ascii

Source
Expand description

Extended ascii used as the default for mapping chars to terminal glyphs. Note this is simply the default, a custom mapping can be defined via crate::render::UvMapping

Structs§

GlyphFromCharError

Enums§

Glyph
An ascii glyph that can be drawn to a terminal.

Functions§

char_to_index
Convert a char to it’s corresponding ascii glyph index (0..256)
index_to_char
Convert an index to it’s corresponding ascii glyph (0..256)
try_index_to_char