logo

Function lyon_geom::rect

source · []
pub fn rect<S>(x: S, y: S, w: S, h: S) -> Rect<S>
Expand description

Shorthand for Rect::new(Point::new(x, y), Size::new(w, h)).