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

Function point

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

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