[][src]Module termcandy::graphics

Types for drawing pretty UIs.

Structs

Attrs

Styling attributes - bold, underlined, etc.

Cell

A single grid cell of text on the terminal.

Rect

A rectangle representing a region of a surface.

Style

The color and styling attributes of a terminal cell.

Surface

A 2-dimensional arrays of cells.

SurfaceMut

A mutable reference to a (region of a) surface.

SurfaceRef

A shared reference to a (region of a) surface.

UnderlineStyle

The style of an underline.

Enums

Color

A color

ColorCode

A simple 3-bit color code.

UnderlineKind

The kind of underline.