[][src]Function lyon_geom::rect

pub fn rect<S>(x: S, y: S, w: S, h: S) -> Rect<S>

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