tengri/output
2025-08-23 12:50:31 +03:00
..
proptest-regressions
src output: update README 2025-08-23 12:50:31 +03:00
Cargo.lock
Cargo.toml add tengri_core; fix errors and warnings; unify deps 2025-05-10 15:25:09 +03:00
README.md output: update README 2025-08-23 12:50:31 +03:00

tengri_output is an abstract interface layout framework.

it expresses the following notions:

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

  • output: Output, Render, Content

    • the layout operators are generic over Render and/or Content
    • the traits Render and Content are generic over Output
    • implement Output 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