Function vec2::normalize [] [src]

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