Expand description
Ratatui backend for use with embedded-graphics;
this crate is compatible with no_std and is still work-in-progress.
Modules§
- blink
- Types for specifying how to render text that should blink.
- color
- Color palettes that allow the backend to render text in color.
- cursor
- Types for specifying how to render a cursor.
- error
- Error types utilized by the backend and its related functions.
- fonts
- Bitmap font instances enabled and configured through features.
Macros§
- font_
6x16 - Creates a fixed-width bitmap font for a cell size of 6 by 16 pixels (Wide/Small).
- font_
6x18 - Creates a fixed-width bitmap font for a cell size of 6 by 18 pixels.
- font_
8x20 - Creates a fixed-width bitmap font for a cell size of 8 by 20 pixels (Wide).
- font_
8x24 - Creates a fixed-width bitmap font for a cell size of 8 by 24 pixels.
- font_
8x24_ bold - Creates a fixed-width bitmap font for a cell size of 8 by 24 pixels (Bold).
- font_
10x30 - Creates a fixed-width bitmap font for a cell size of 10 by 30 pixels.
- font_
12x30 - Creates a fixed-width bitmap font for a cell size of 12 by 30 pixels (Wide).
- font_
12x36 - Creates a fixed-width bitmap font for a cell size of 12 by 36 pixels.
- font_
12x36_ bold - Creates a fixed-width bitmap font for a cell size of 12 by 36 pixels (Bold).
- font_
14x42 - Creates a fixed-width bitmap font for a cell size of 14 by 42 pixels.
- font_
16x40 - Creates a fixed-width bitmap font for a cell size of 16 by 40 pixels (Wide).
- font_
16x48 - Creates a fixed-width bitmap font for a cell size of 16 by 48 pixels.
- mpluscode
- Creates a fixed-width bitmap font.
Structs§
- Blink
Wrapper - Wrapper that is required in order for text that has
slow_blinkorrapid_blinkmodifiers added to its style, to appear to be blinking, driving the animation by redrawing cells that are stored in a cache until new content with intersecting positions and without blinking are drawn. - Cursor
Wrapper - Wrapper that is required in order for a cursor to reveal itself whenever
show_cursororset_cursor_positionis called, keeping track of its position and driving its animation, redrawing cells not only as the cursor is blinking, but also when the cursor leaves a cell. - Dumo
Backend - Backend for Ratatui that renders to a display with the
embedded-graphicscrate, using fixed-width bitmap fonts from themplusfontscrate. - Flush
Wrapper - Wrapper with a function item for backends to call, flushing the changes made to the draw target on request, which is needed for certain display device drivers.
Traits§
- Configure
Backend - Backend configuration retrieval and modification.
- Configure
Blink Wrapper - Backend configuration retrieval and modification of the
BlinkWrapperlayer. - Configure
Cursor Wrapper - Backend configuration retrieval and modification of the
CursorWrapperlayer. - Draw
Target Backend - Backend with a reference to a draw target.
- Wrapper
- Wrapper around an arbitrary object.