tengri/output
unspeaker d9081087ec
Some checks failed
/ build (push) Has been cancelled
feat(output): impl PartialEq for Measure
2025-08-24 03:21:32 +03:00
..
proptest-regressions
src feat(output): impl PartialEq for Measure 2025-08-24 03:21:32 +03:00
Cargo.lock
Cargo.toml
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