Function slots

Source
pub fn slots(
    parent: Rect,
    count: usize,
    gap: f32,
    vertical: bool,
) -> Result<impl Iterator<Item = Rect>, UiError>
Expand description

Equal-width/height slots without temporary layout allocations.