pub fn gap_insert<T: Into<u16>>(
rect: LayoutRect,
gap: T,
index: usize,
orientation: Orientation,
) -> LayoutRectExpand description
Offset a rectangle by gap * index along the given orientation.
Used when placing children in a split with inter-child gaps.
Generic over gap type.