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

Function point2

pub const fn point2<T, U>(x: T, y: T) -> Point2D<T, U>
Available on crate feature canvas only.
Expand description

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