Function arm
fn arm<'a, T>(
instrument: &'a PyInstrument,
name: &str,
pick: impl FnOnce(&'a AnyInstrument) -> Option<&'a T>,
) -> PyResult<&'a T>Expand description
The product arm name works on, or a ValueError naming what was given.