cosmic::widget::canvas::path::lyon_path::geom::euclid

Function point2

source
pub const fn point2<T, U>(x: T, y: T) -> Point2D<T, U>
Expand description

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