Module term_model::index

source ·
Expand description

Line and Column newtypes for strongly typed tty/grid/terminal APIs

Structs§

  • A column
  • This exists because we can’t implement Iterator on Range and the existing impl needs the unstable Step trait This should be removed and replaced with a Step impl in the ops macro when step_by is stabilized
  • A line
  • A linear index
  • Index in the grid using row, column notation

Enums§

  • The side of a cell