Function vector
pub fn vector<S>(x: S, y: S) -> Vector2D<S, UnknownUnit>
Available on crate feature
geometry
only.Expand description
Shorthand for Vector::new(x, y)
.
pub fn vector<S>(x: S, y: S) -> Vector2D<S, UnknownUnit>
geometry
only.Shorthand for Vector::new(x, y)
.