[][src]Function cgmath::vec2

pub const fn vec2<S>(x: S, y: S) -> Vector2<S>

The short constructor.