iced_renderer::geometry::path::lyon_path::math

Function vector

pub fn vector(x: f32, y: f32) -> Vector2D<f32, UnknownUnit>
Available on crate feature geometry only.
Expand description

Shorthand for Vector::new(x, y).