pub fn output_index(program: &Program, name: &str) -> Option<usize>Expand description
The interpreter’s output ABI, single-homed: is_reference_output is the exact
predicate reference_eval uses to collect the buffers it returns, and
output_index locates a named output by that predicate. Re-exported so test
harnesses never hand-roll (and drift from) the selection.
Position of the buffer name within reference_eval’s returned outputs, the
buffers matching is_reference_output, in Program::buffers order, or None
when the program declares no such returned output under that name.