iced_renderer::geometry::path::lyon_path::geom

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).