Function lyon::math::rect[]

pub fn rect(x: f32, y: f32, w: f32, h: f32) -> Rect<f32, UnknownUnit>
Expand description

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