Skip to main content

grid

Function grid 

Source
pub fn grid(
    area: Rect,
    cols_n: usize,
    rows_n: usize,
    gap: u16,
) -> Vec<Vec<Rect>>
Expand description

Grid of cols×rows cells with gaps.