mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 03:36:42 +01:00
| .. | ||
| proptest-regressions | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
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
Renderand/orContent - the traits
RenderandContentare generic overOutput - implement
Outputto bring a layout to a new backend: seeTuiOutintengri_tui
- the layout operators are generic over
-
- 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_contentintengri_tui
- conditionals: