Function array_math::comap

source ·
pub fn comap<T, const N: usize, Map, Rhs>(
    array: [T; N],
    rhs: [Rhs; N],
    map: Map
) -> [<Map as FnOnce(T, Rhs)>::Output; N]
where Map: FnMut(T, Rhs),