Type Definition termbox::Cell [] [src]

type Cell = RawCell;

Represents a single character cell in the terminal output.

pub struct Cell {
  // The character displayed by the cell. This is assumed to be a unicode character,
  // but as termbox was written in C, this cannot be enforced at the language level.
  pub ch: u32,
  pub fg: Attribute,
  pub bg: Attribute,
}