tengri/output
2025-09-07 20:57:44 +03:00
..
proptest-regressions tabula rasa 2025-03-02 14:31:04 +02:00
src output: more big refactors 2025-09-07 20:57:44 +03:00
Cargo.lock tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00
Cargo.toml output: more big refactors 2025-09-07 20:57:44 +03:00
README.md output: more big refactors 2025-09-07 20:57:44 +03:00

tengri_output is an abstract interface layout framework.

it expresses the following notions:

  • space: Direction, Coordinate, Area, Size, Measure

  • output: Out, Draw, Content

    • the layout operators are generic over Draw and/or Content
    • the traits Draw and Content are generic over Out
    • implement Out to bring a layout to a new backend: see TuiOut in tengri_tui
  • layout:

    • conditionals: When, Either
    • iteration: Map
    • concatenation: Bsp
    • positioning: Align, Push, Pull
    • sizing: Fill, Fixed, Expand, Shrink, Min, Max
    • implement custom components (that may be backend-dependent): see tui_content in tengri_tui