Module matrix_display::cell [] [src]

Stores data to be printed by MatrixDisplay plus colour metada

  • The data type itself is generic. Anything that implements the ToString and the Clone traits can do
  • The foreground and background color are individually configurable for each cell

Structs

AnsiColor

A foreground and background color's ansi code

Cell

A Matrix Cell that owns some data, a background color and a foreground color