cosmic::iced_widget::canvas::path::lyon_path::geom::euclid

Function rect

source
pub const fn rect<T, U>(x: T, y: T, w: T, h: T) -> Rect<T, U>
Expand description

Shorthand for Rect::new(Point2D::new(x, y), Size2D::new(w, h)).