iced::widget::canvas::path::lyon_path::geom

Function vector

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

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