mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 19:56:44 +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:
Out,Draw,Content- the layout operators are generic over
Drawand/orContent - the traits
DrawandContentare generic overOut - implement
Outto 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: