pub fn vec2_len<T>(a: [T; 2]) -> Twhere T: Copy + Sqrt + Add<Output = T> + Mul<Output = T>,
Computes the length of vector.