pub fn stack<O: Outputs + 'static, S: Default>(
count: usize,
per: O::Per,
write: &(dyn Fn(usize, O::Cell<'_>, &mut S) -> bool + Sync),
) -> Result<(O, bool), Error>Expand description
Runs write(i, parts, scratch) on each cell i of a stack of count cells, as [each_cell] runs them, and gives the outputs with whether every call said true. parts is cell i’s part of each output k: per[k] items from i * per[k].