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

Function point

source
pub fn point<S>(x: S, y: S) -> Point2D<S, UnknownUnit>
Expand description

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