Skip to main content

Crate dumo

Crate dumo 

Source
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§

BlinkWrapper
Wrapper that is required in order for text that has slow_blink or rapid_blink modifiers 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.
CursorWrapper
Wrapper that is required in order for a cursor to reveal itself whenever show_cursor or set_cursor_position is 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.
DumoBackend
Backend for Ratatui that renders to a display with the embedded-graphics crate, using fixed-width bitmap fonts from the mplusfonts crate.
FlushWrapper
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§

ConfigureBackend
Backend configuration retrieval and modification.
ConfigureBlinkWrapper
Backend configuration retrieval and modification of the BlinkWrapper layer.
ConfigureCursorWrapper
Backend configuration retrieval and modification of the CursorWrapper layer.
DrawTargetBackend
Backend with a reference to a draw target.
Wrapper
Wrapper around an arbitrary object.