iced_renderer::geometry::path::lyon_path::geom::euclid

Function point2

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

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