Skip to main content

expand

Function expand 

Source
pub fn expand(
    layout: &Layout,
    axis: usize,
    counts: &[i64],
) -> Result<Plan, Error>
Expand description

Undoes repeat with the same counts: one cell for each count. A positive count gives the first cell it made, and any other count a fill. One count must divide the number of cells. More counts must use every cell, unless the axis has one cell.