iced::widget::canvas::path::lyon_path::math

Function point

pub fn point(x: f32, y: f32) -> Point2D<f32, UnknownUnit>
Available on crate feature canvas only.
Expand description

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