cosmic::widget::canvas::path::lyon_path::math

Function vector

source
pub fn vector(x: f32, y: f32) -> Vector2D<f32, UnknownUnit>
Expand description

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