[][src]Function cgmath::conv::array2

pub fn array2<T, A: Into<[T; 2]>>(value: A) -> [T; 2]

Force a conversion into a 2-element array.