Function construct::add2 [] [src]

pub fn add2<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where
    T: Copy + Add<T, Output = T>, 

Adds two vectors.