pub fn repeated<C>(
view: View<'_>,
layout: &Layout,
axis: usize,
counts: &[C],
) -> Result<Option<(Layout, Buffer)>, Error>where
C: Key,Expand description
repeat’s items with no plan to walk: view, the items of layout, with each cell along axis written as many times as its count, a run at a time (gather::repeat, or gather::positions for counts of 0 and 1). None where a count is negative or axis has keys, which repeat’s plan serves.