dymokomi/luce-ui
Source of release 0.19.4
0.19.4 / src / arrangement.lucb
## Custom containers supply local rectangles while the tree retains ownership,
## clipping, input routing and focus. Placement must not change the widget tree.
from luce_gpu import gpu
import interop
from geometry import Size
pub interface Arrangement:
func place(child: i64, available: Size) -> interop.Outcome[gpu.Rect]