Function unzip_array_of_tuple

Source
pub fn unzip_array_of_tuple<T1, T2, const N: usize>(
    arr: [(T1, T2); N],
) -> ([T1; N], [T2; N])
Expand description

Unzips an array of tuples like [(i32, i64); N] into two arrays -> ([i32; N], [i64; N]) Useful