Function vec2::normalize [] [src]

pub fn normalize<'a, T: Copy + Num>(
    out: &'a mut [T; 2],
    a: &[T; 2]
) -> &'a mut [T; 2]